Maintainer can add project members despite group member lock
HackerOne report #457627 by ashish_r_padelkar on 2018-12-06:
Summary: Hello,
When group is enabled with Member Lock , the maintainers of the project inside group can not add any project members at https://gitlab.com/thisisprivategroup/projectinsideprivategroupt/project_members/
Description:
However, using project member import feature, Users with Maintainer role of such projects can still import project members
The project member import url is https://gitlab.com/<GroupWithMemberLock>/<ProjectName>/project_members/import
Steps To Reproduce:
-
As a
Ownerof a private group , enable member lock athttps://gitlab.com/groups/<group>/-/edit#js-permissions-settings -
Login as
Maintainerand go into project within the group. You will see that you dont have option to add project members athttps://gitlab.com/<GroupWithMemberLock>/<ProjectName>/project_members -
Now just visit direct url
https://gitlab.com/<GroupWithMemberLock>/<ProjectName>/project_members/import -
Import the project members from other project and it will be successfully added to the current project which should not have been possible otherwise!
Regards, Ashish
Impact
Maintainer can add/import project members despite member lock to a group
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
