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
c622252bd8
gitlab-org--gitlab-foss
/
lib
/
gitlab
/
allowable.rb
8 lines
101 B
Ruby
Raw
Normal View
History
Unescape
Escape
Extract abilities checking module from ability model
2016-12-13 13:44:43 +00:00
module
Gitlab
module
Allowable
convert all the policies to DeclarativePolicy
2017-04-06 21:06:42 +00:00
def
can?
(
*
args
)
Ability
.
allowed?
(
*
args
)
Extract abilities checking module from ability model
2016-12-13 13:44:43 +00:00
end
end
end