mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
12 lines
497 B
CoffeeScript
12 lines
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) ->) ->
|
||
|
|