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
7734e85bc6
gitlab-org--gitlab-foss
/
app
/
policies
/
group_label_policy.rb
4 lines
70 B
Ruby
Raw
Normal View
History
Unescape
Escape
Use policies to handle with global/project label permissions
2016-09-20 18:50:11 +00:00
class
GroupLabelPolicy
<
BasePolicy
convert all the policies to DeclarativePolicy
2017-04-06 21:06:42 +00:00
delegate
{
@subject
.
group
}
Use policies to handle with global/project label permissions
2016-09-20 18:50:11 +00:00
end