mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-22 21:21:08 +00:00
Update the linksharing rollout to 10%
This commit is contained in:
parent
aea8e77f8a
commit
bc87bceb5f
1 changed files with 2 additions and 2 deletions
|
@ -301,7 +301,7 @@ module.exports = ProjectController =
|
||||||
# Extract data from user's ObjectId
|
# Extract data from user's ObjectId
|
||||||
timestamp = parseInt(user_id.toString().substring(0, 8), 16)
|
timestamp = parseInt(user_id.toString().substring(0, 8), 16)
|
||||||
userSignupDate = new Date(timestamp * 1000)
|
userSignupDate = new Date(timestamp * 1000)
|
||||||
if userSignupDate > new Date("2017-11-10")
|
if userSignupDate > new Date("2017-11-13")
|
||||||
# Don't show for users who registered after it was released
|
# Don't show for users who registered after it was released
|
||||||
return cb(null, false)
|
return cb(null, false)
|
||||||
timeout = setTimeout cb, 500
|
timeout = setTimeout cb, 500
|
||||||
|
@ -329,7 +329,7 @@ module.exports = ProjectController =
|
||||||
enableTokenAccessUI = ProjectController._isInPercentageRollout(
|
enableTokenAccessUI = ProjectController._isInPercentageRollout(
|
||||||
'linksharing',
|
'linksharing',
|
||||||
project.owner_ref,
|
project.owner_ref,
|
||||||
0
|
10
|
||||||
)
|
)
|
||||||
showLinkSharingOnboarding = enableTokenAccessUI && results.couldShowLinkSharingOnboarding
|
showLinkSharingOnboarding = enableTokenAccessUI && results.couldShowLinkSharingOnboarding
|
||||||
AuthorizationManager.getPrivilegeLevelForProject user_id, project_id, token, (error, privilegeLevel)->
|
AuthorizationManager.getPrivilegeLevelForProject user_id, project_id, token, (error, privilegeLevel)->
|
||||||
|
|
Loading…
Reference in a new issue