mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[MockWebServer] grant users at least the privileges of anonymous users
This commit is contained in:
parent
4f860995d8
commit
78fbd04ef8
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,8 @@ module.exports = MockWebServer = {
|
||||||
return callback(
|
return callback(
|
||||||
null,
|
null,
|
||||||
MockWebServer.projects[project_id],
|
MockWebServer.projects[project_id],
|
||||||
MockWebServer.privileges[project_id][user_id]
|
MockWebServer.privileges[project_id][user_id] ||
|
||||||
|
MockWebServer.privileges[project_id]['anonymous-user']
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue