|
@@ -347,7 +347,6 @@ const _ProjectController = {
|
|
|
'track-pdf-download',
|
|
'track-pdf-download',
|
|
|
!anonymous && 'writefull-oauth-promotion',
|
|
!anonymous && 'writefull-oauth-promotion',
|
|
|
'hotjar',
|
|
'hotjar',
|
|
|
- 'reviewer-role',
|
|
|
|
|
'editor-redesign',
|
|
'editor-redesign',
|
|
|
'paywall-change-compile-timeout',
|
|
'paywall-change-compile-timeout',
|
|
|
'overleaf-assist-bundle',
|
|
'overleaf-assist-bundle',
|
|
@@ -482,12 +481,6 @@ const _ProjectController = {
|
|
|
anonRequestToken
|
|
anonRequestToken
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
- const reviewerRoleAssignment =
|
|
|
|
|
- await SplitTestHandler.promises.getAssignmentForUser(
|
|
|
|
|
- project.owner_ref,
|
|
|
|
|
- 'reviewer-role'
|
|
|
|
|
- )
|
|
|
|
|
-
|
|
|
|
|
await Modules.promises.hooks.fire('enforceCollaboratorLimit', projectId)
|
|
await Modules.promises.hooks.fire('enforceCollaboratorLimit', projectId)
|
|
|
if (isTokenMember) {
|
|
if (isTokenMember) {
|
|
|
// Check explicitly that the user is in read write token refs, while this could be inferred
|
|
// Check explicitly that the user is in read write token refs, while this could be inferred
|
|
@@ -883,9 +876,6 @@ const _ProjectController = {
|
|
|
: null,
|
|
: null,
|
|
|
isSaas: Features.hasFeature('saas'),
|
|
isSaas: Features.hasFeature('saas'),
|
|
|
shouldLoadHotjar: splitTestAssignments.hotjar?.variant === 'enabled',
|
|
shouldLoadHotjar: splitTestAssignments.hotjar?.variant === 'enabled',
|
|
|
- isReviewerRoleEnabled:
|
|
|
|
|
- reviewerRoleAssignment?.variant === 'enabled' ||
|
|
|
|
|
- Object.keys(project.reviewer_refs || {}).length > 0,
|
|
|
|
|
isPaywallChangeCompileTimeoutEnabled,
|
|
isPaywallChangeCompileTimeoutEnabled,
|
|
|
isOverleafAssistBundleEnabled,
|
|
isOverleafAssistBundleEnabled,
|
|
|
paywallPlans,
|
|
paywallPlans,
|