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
a38739a47e
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 08:44:43 -05:00
module
Gitlab
module
Allowable
convert all the policies to DeclarativePolicy
2017-04-06 17:06:42 -04:00
def
can?
(
*
args
)
Ability
.
allowed?
(
*
args
)
Extract abilities checking module from ability model
2016-12-13 08:44:43 -05:00
end
end
end
Copy permalink