Support "Minimal access" role when inviting new users
requested to merge gitlab-jh/jh-team/gitlab:support-invite-new-members-with-minimal-access-role into master
What does this MR do and why?
Adds Minimal Access
role to list of available options when inviting a user into a group (without parent group).
Fixes Cannot invite new members with 'Minimal Access'... (#353816 - closed)
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Make sure feature
minimal_access_role
is available (requiresPremium
license)
# bin/rails console
pry(main)> License.feature_available?(:minimal_access_role)
=> true
- Visit a groups "Group members" page (for example, http://gdk.test:3000/groups/flightjs/-/group_members)
- Click "Invite members"
- Click the "Select a role" dropdown
- Check to see "Minimal Access" is now available as an option
Edited by Zhiyuan Lu