mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-06 13:23:19 +00:00
Merge pull request #19684 from overleaf/ae-members-list
Allow all collaborators to access the project `members` endpoint GitOrigin-RevId: 2e5911146c61f368f85e6b57a9c5f12a35e7b294
This commit is contained in:
parent
5067c0b22d
commit
049f8af680
1 changed files with 2 additions and 1 deletions
|
@ -68,7 +68,8 @@ module.exports = {
|
|||
webRouter.get(
|
||||
'/project/:Project_id/members',
|
||||
AuthenticationController.requireLogin(),
|
||||
AuthorizationMiddleware.ensureUserCanAdminProject,
|
||||
AuthorizationMiddleware.blockRestrictedUserFromProject,
|
||||
AuthorizationMiddleware.ensureUserCanReadProject,
|
||||
CollaboratorsController.getAllMembers
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue