 				timestamp = parseInt(user_id.toString().substring(0, 8), 16)
 
 				rolloutPercentage = 60 # Percentage of users to roll out to
-				if !ProjectController._isInPercentageRollout(user_id, rolloutPercentage)
+				if !ProjectController._isInPercentageRollout('autocompile', user_id, rolloutPercentage)
 					# Don't show if user is not part of roll out
 					return cb(null, { enabled: false, showOnboarding: false })
 				userSignupDate = new Date(timestamp * 1000)

Sources = require "../Authorization/Sources"
TokenAccessHandler = require '../TokenAccess/TokenAccessHandler'
CollaboratorsHandler = require '../Collaborators/CollaboratorsHandler'

module.exports = ProjectController =

	_isInPercentageRollout: (objectId, percentage) ->
		if Settings.bypassPercentageRollouts = true
			return true
		counter = parseInt(objectId.toString().substring(18, 24), 16)
		return (counter % 100) < percentage

	updateProjectSettings: (req, res, next) ->


			token = TokenAccessHandler.getRequestToken(req, project_id)
			isTokenMember = results.isTokenMember
			enableTokenAccessUI = ProjectController._isInPercentageRollout(
				'linksharing',
				project.owner_ref,
				0
			)
			AuthorizationManager.getPrivilegeLevelForProject user_id, project_id, token, (error, privilegeLevel)->
				return next(error) if error?
				if !privilegeLevel? or privilegeLevel == PrivilegeLevels.NONE
