mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-31 21:21:03 -04:00
12 lines
No EOL
497 B
CoffeeScript
12 lines
No EOL
497 B
CoffeeScript
module.exports =
|
|
getPrivilegeLevelForProject: (user_id, project_id, callback = (error, canAccess, privilegeLevel) ->) ->
|
|
return callback(null, true, "readAndWrite")
|
|
|
|
canUserReadProject: (user_id, project_id, callback = (error, canRead) ->) ->
|
|
|
|
canUserWriteProjectSettings: (user_id, project_id, callback = (error, canWriteSettings) ->) ->
|
|
|
|
canUserAdminProject: (user_id, project_id, callback = (error, canAdmin) ->) ->
|
|
|
|
isUserSiteAdmin: (user_id, callback = (error, isAdmin) ->) ->
|
|
|