mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02: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:
@@ -68,7 +68,8 @@ module.exports = {
|
||||
webRouter.get(
|
||||
'/project/:Project_id/members',
|
||||
AuthenticationController.requireLogin(),
|
||||
AuthorizationMiddleware.ensureUserCanAdminProject,
|
||||
AuthorizationMiddleware.blockRestrictedUserFromProject,
|
||||
AuthorizationMiddleware.ensureUserCanReadProject,
|
||||
CollaboratorsController.getAllMembers
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user