This website requires JavaScript.
Explore
Help
Sign In
kotovalexarian-likes-gitlab
/
gitlab-org--gitlab-foss
Watch
1
Star
0
Fork
You've already forked gitlab-org--gitlab-foss
0
Code
Releases
Activity
e4efb135e8
gitlab-org--gitlab-foss
/
app
/
policies
/
project_label_policy.rb
6 lines
91 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add ProjectLabel model
2016-09-20 16:07:56 -04:00
class
ProjectLabelPolicy
<
BasePolicy
Use policies to handle with global/project label permissions
2016-09-20 14:50:11 -04:00
def
rules
Use delegate! on group and project labels policies
2016-10-11 12:57:52 -04:00
delegate!
@subject
.
project
Use policies to handle with global/project label permissions
2016-09-20 14:50:11 -04:00
end
end
Copy permalink