Resolve "Prevent projects from being shared outside a GMA group" - adding member to forked project
requested to merge 12420-prevent-projects-from-being-shared-outside-a-gma-group-member-fork into master
What does this MR do?
It blocks the possibility of inviting member to a project in a particular case:
- when project is forked
- when source project or forked project is in the group, that enforces group managed accounts
- when member that is supposed to be invited was created outside this group
It's the third part of changes described in #12420 (closed)
Screenshots
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry -
Documentation (if required) -
Code review guidelines -
Merge request performance guidelines -
Style guides -
Database guides -
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers -
Informed Infrastructure department of a default or new setting change, if applicable per definition of done
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
-
Label as security and @ mention @gitlab-com/gl-security/appsec
-
The MR includes necessary changes to maintain consistency between UI, API, email, or other methods -
Security reports checked/validated by a reviewer from the AppSec team
Closes #12420 (closed)
Edited by Gosia Ksionek