Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cc7bcf73
Commit
cc7bcf73
authored
Dec 13, 2019
by
Tetiana Chupryna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unify name of condition
parent
707189a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/app/policies/ee/group_policy.rb
ee/app/policies/ee/group_policy.rb
+2
-2
No files found.
ee/app/policies/ee/group_policy.rb
View file @
cc7bcf73
...
@@ -25,7 +25,7 @@ module EE
...
@@ -25,7 +25,7 @@ module EE
::
Gitlab
::
CurrentSettings
.
lock_memberships_to_ldap?
::
Gitlab
::
CurrentSettings
.
lock_memberships_to_ldap?
end
end
condition
(
:security_dashboard_
feature_
enabled
)
do
condition
(
:security_dashboard_enabled
)
do
@subject
.
feature_available?
(
:security_dashboard
)
@subject
.
feature_available?
(
:security_dashboard
)
end
end
...
@@ -132,7 +132,7 @@ module EE
...
@@ -132,7 +132,7 @@ module EE
enable
:admin_merge_request
enable
:admin_merge_request
end
end
rule
{
security_dashboard_
feature_
enabled
&
developer
}.
enable
:read_group_security_dashboard
rule
{
security_dashboard_enabled
&
developer
}.
enable
:read_group_security_dashboard
rule
{
needs_new_sso_session
}.
policy
do
rule
{
needs_new_sso_session
}.
policy
do
prevent
:read_group
prevent
:read_group
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment