Ability to disable user invitations
Description
As described by customer:
As a company we must prevent users from inviting other users, especially those that do not even have accounts on the server. Unfortunately I could not find a way to disable this feature.
We do not want to give anyone the easy option to actually send information about the server and/or projects out by using the system itself. On the other hand it’s also a little bit irritating for users if they can be invited but then they cannot sign in or register. Many of those instances are going to end up at our help desk I’m pretty sure and we would like to avoid that.
Proposal
Add a global config option at Group
/ Settings:General
/ Permissions and group features
/ Membership
to disable ability to invite other users. Perhaps two options, one to allow internal invites to existing users, another to disable invites to all users.
the functionality in the members dialog of adding any email and thus creating an invitation to a GitLab project shall be removed. So if users enter an email that doesn't match any user account, this should not happen:
Visuals
2022-04-12 iteration:
current setting | new setting - enabled | new setting - disabled |
---|---|---|
![]() |
![]() |
![]() |
Links / references
https://gitlab.zendesk.com/agent/tickets/82650
Feature checklist
Make sure these are completed before closing the issue, with a link to the relevant commit.
-
Feature assurance -
Documentation -
Added to features.yml
Availability & Testing
- Add feature level specs that would assert that users and not invite-able by email when it is disabled.