Skip to content
代码片段 群组 项目
未验证 提交 97089007 编辑于 作者: Brendan Lynch's avatar Brendan Lynch 提交者: GitLab
浏览文件

Explain incompatibility between Code Owners and Global SAML memberships lock

上级 a5fe479c
No related branches found
No related tags found
无相关合并请求
...@@ -264,7 +264,8 @@ When global group memberships lock is enabled: ...@@ -264,7 +264,8 @@ When global group memberships lock is enabled:
- Share a project with other groups. - Share a project with other groups.
NOTE: NOTE:
This limits the use of groups in other product features such as [adding a group as a Code Owner](../../project/codeowners/index.md#add-a-group-as-a-code-owner). You cannot set groups or subgroups as [Code Owners](../../project/codeowners/index.md).
The Code Owners feature requires direct group memberships, which are not possible when this lock is enabled.
- Invite members to a project created in a group. - Invite members to a project created in a group.
......
...@@ -143,10 +143,22 @@ file.md @group-x @group-x/subgroup-y ...@@ -143,10 +143,22 @@ file.md @group-x @group-x/subgroup-y
``` ```
NOTE: NOTE:
You cannot set a member of a group or subgroup as a Code Owner if [Global SAML group memberships lock](../../group/saml_sso/group_sync.md#global-saml-group-memberships-lock) is enabled. When [Global SAML group memberships lock](../../group/saml_sso/group_sync.md#global-saml-group-memberships-lock) is enabled, you cannot set a group or subgroup as a Code Owner. For more information, see [Incompatibility with Global SAML group memberships lock](#incompatibility-with-global-saml-group-memberships-lock).
If you encounter issues, refer to [User not shown as possible approver](troubleshooting.md#user-not-shown-as-possible-approver). If you encounter issues, refer to [User not shown as possible approver](troubleshooting.md#user-not-shown-as-possible-approver).
#### Incompatibility with Global SAML group memberships lock
The Code Owners feature requires direct group memberships to projects.
When the [Global SAML group memberships lock](../../group/saml_sso/group_sync.md#global-saml-group-memberships-lock) is enabled,
it prevents groups from being invited as direct members to projects. This creates an incompatibility between the two features.
If you enabled Global SAML group memberships lock, you can't use groups or subgroups as Code Owners.
In this case, you have the following options:
- Use individual users as Code Owners instead of groups.
- If using group-based Code Owners is a higher priority, disable the Global SAML group memberships lock.
#### Group inheritance and eligibility #### Group inheritance and eligibility
```mermaid ```mermaid
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册