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

Merge branch '438145-cleanup-feature-flag' into 'master'

Remove allow_members_to_see_invited_groups_in_access_dropdowns flag

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/142466



Merged-by: default avatarJohn Mason <9717668-johnmason@users.noreply.gitlab.com>
Approved-by: default avatarJohn Mason <9717668-johnmason@users.noreply.gitlab.com>
Approved-by: default avatarRoss Byrne <robyrne@gitlab.com>
Co-authored-by: default avatarj.seto <jseto@gitlab.com>
No related branches found
No related tags found
无相关合并请求
---
name: allow_members_to_see_invited_groups_in_access_dropdowns
feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/345140
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140927
rollout_issue_url: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/17364
milestone: '16.8'
group: group::source code
type: gitlab_com_derisk
default_enabled: false
...@@ -161,7 +161,7 @@ To add a group to a project: ...@@ -161,7 +161,7 @@ To add a group to a project:
The invited group is displayed on the **Groups** tab. The invited group is displayed on the **Groups** tab.
Private groups are masked from unauthorized users. Private groups are masked from unauthorized users.
With the feature flag `allow_members_to_see_invited_groups_in_access_dropdowns` enabled, private groups are displayed in project settings for protected branches, protected tags, and protected environments. Private groups are displayed in project settings for protected branches, protected tags, and protected environments.
The members of the invited group are not displayed on the **Members** tab. The members of the invited group are not displayed on the **Members** tab.
The **Members** tab shows: The **Members** tab shows:
......
...@@ -42,11 +42,6 @@ def invited_groups(project) ...@@ -42,11 +42,6 @@ def invited_groups(project)
def with_project_access?(project) def with_project_access?(project)
return false unless params[:with_project_access].present? return false unless params[:with_project_access].present?
return false unless Feature.enabled?(:allow_members_to_see_invited_groups_in_access_dropdowns,
project,
type: :gitlab_com_derisk
)
project.member?(current_user, Gitlab::Access::MAINTAINER) project.member?(current_user, Gitlab::Access::MAINTAINER)
end end
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册