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
95ed2c38
Commit
95ed2c38
authored
Oct 02, 2018
by
Kamil Trzciński
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert unneeded changes
parent
ec383872
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
app/policies/project_policy.rb
app/policies/project_policy.rb
+0
-2
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+2
-2
ee/app/policies/ee/project_policy.rb
ee/app/policies/ee/project_policy.rb
+1
-0
lib/api/api.rb
lib/api/api.rb
+1
-1
No files found.
app/policies/project_policy.rb
View file @
95ed2c38
...
...
@@ -15,7 +15,6 @@ class ProjectPolicy < BasePolicy
note
pipeline
pipeline_schedule
feature_flags
build
trigger
environment
...
...
@@ -307,7 +306,6 @@ class ProjectPolicy < BasePolicy
prevent
(
*
create_read_update_admin_destroy
(
:build
))
prevent
(
*
create_read_update_admin_destroy
(
:pipeline_schedule
))
prevent
(
*
create_read_update_admin_destroy
(
:environment
))
prevent
(
*
create_read_update_admin_destroy
(
:feature_flags
))
prevent
(
*
create_read_update_admin_destroy
(
:cluster
))
prevent
(
*
create_read_update_admin_destroy
(
:deployment
))
end
...
...
app/views/layouts/nav/sidebar/_project.html.haml
View file @
95ed2c38
...
...
@@ -196,7 +196,7 @@
-
if
project_nav_tab?
:operations
=
nav_link
(
controller:
[
:environments
,
:clusters
,
:user
,
:gcp
,
:feature_flags
])
do
=
link_to
project_environments_path
(
@project
),
class:
'shortcuts-operations'
do
=
link_to
metrics_
project_environments_path
(
@project
),
class:
'shortcuts-operations'
do
.nav-icon-container
=
sprite_icon
(
'cloud-gear'
)
%span
.nav-item-name
...
...
@@ -204,7 +204,7 @@
%ul
.sidebar-sub-level-items
=
nav_link
(
controller:
[
:environments
,
:clusters
,
:user
,
:gcp
,
:feature_flags
],
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
project_environments_path
(
@project
)
do
=
link_to
metrics_
project_environments_path
(
@project
)
do
%strong
.fly-out-top-item-name
=
_
(
'Operations'
)
%li
.divider.fly-out-top-item
...
...
ee/app/policies/ee/project_policy.rb
View file @
95ed2c38
...
...
@@ -8,6 +8,7 @@ module EE
approvers
vulnerability_feedback
license_management
feature_flag
]
.
freeze
prepended
do
...
...
lib/api/api.rb
View file @
95ed2c38
...
...
@@ -166,7 +166,7 @@ module API
## EE-specific API V4 endpoints START
mount
::
EE
::
API
::
Boards
mount
::
EE
::
API
::
GroupBoards
mount
::
API
::
Unleash
mount
::
API
::
EpicIssues
mount
::
API
::
Epics
...
...
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