mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Merge pull request #129 from sharelatex/as-allow-force-rollout
Allow user to force themselves to be part of autocompile rollout
This commit is contained in:
@@ -270,6 +270,10 @@ module.exports = ProjectController =
|
||||
CollaboratorsHandler.userIsTokenMember user_id, project_id, cb
|
||||
showAutoCompileOnboarding: (cb) ->
|
||||
cb = underscore.once(cb)
|
||||
# Force autocompile rollout if query param set
|
||||
if req.query.ac == 't'
|
||||
return cb(null, { enabled: true, showOnboarding: true })
|
||||
|
||||
if !user_id?
|
||||
return cb()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user