mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Set token-access-ui rollout to 0%
This commit is contained in:
parent
9cd6b4e6ad
commit
57ae935155
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ module.exports = ProjectController =
|
||||||
|
|
||||||
token = TokenAccessHandler.getRequestToken(req, project_id)
|
token = TokenAccessHandler.getRequestToken(req, project_id)
|
||||||
isTokenMember = results.isTokenMember
|
isTokenMember = results.isTokenMember
|
||||||
enableTokenAccessUI = ProjectController._isInPercentageRollout(project.owner_ref, 10)
|
enableTokenAccessUI = ProjectController._isInPercentageRollout(project.owner_ref, 0)
|
||||||
AuthorizationManager.getPrivilegeLevelForProject user_id, project_id, token, (error, privilegeLevel)->
|
AuthorizationManager.getPrivilegeLevelForProject user_id, project_id, token, (error, privilegeLevel)->
|
||||||
return next(error) if error?
|
return next(error) if error?
|
||||||
if !privilegeLevel? or privilegeLevel == PrivilegeLevels.NONE
|
if !privilegeLevel? or privilegeLevel == PrivilegeLevels.NONE
|
||||||
|
|
Loading…
Reference in a new issue