allowable.rb 143 Bytes EditWeb IDE 1 2 3 4 5 6 7 module Gitlab module Allowable def can?(user, action, subject = :global) Ability.allowed?(user, action, subject) end end end