Skip to content

Prevent projects creating group links outside hierarchy

What does this MR do and why?

  • adds observation of the root_ancestor.namespace_settings.prevent_sharing_groups_outside_hierarchy value for determining if a group can be invited(shared) with a project at service/API layer.
    • this already existed at the group layer, but not at the project layer.
  • refines the interfaces of the GroupLinks creation service so that they look and feel the same between projects and groups
  • encapsulates the shared code/concepts into a concern for projects and groups link creation services
  • attempts to reduce the confusion on what a shared_group and a shared_with_group is by utilizing group instead of shared_group.

Related to #353148

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Doug Stull

Merge request reports

Loading