Sha256: 819cbd90f571ebfb96c3065cffc894499fe5cd421c9571b5a3dcecaac6080388
Contents?: true
Size: 199 Bytes
Versions: 6
Compression:
Stored size: 199 Bytes
Contents
module UcbRailsUser::UserRolesConcerns extend ActiveSupport::Concern # Overridden by application def roles [] end def has_role?(role) superuser? || roles.include?(role) end end
Version data entries
6 entries across 6 versions & 1 rubygems