Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
module
Rbacr::Authorizer
Instance methods
can?
(act :
Rbacr::Act
, resource, roles :
String
|
Array
(
String
)) :
Bool
Source
can?
(privilege_id :
String
|
Symbol
, roles :
String
|
Array
(
String
)) :
Bool
Source
can?
(privilege :
Rbacr::Privilege
, roles :
String
|
Array
(
String
)) :
Bool
Source
director_roles
Source
find_roles_by_tier
(tier :
Rbacr::Tier
) :
Array
(
Rbacr::Role
)
Source
manager_roles
Source
require_privilege!
(act :
Rbacr::Act
, resource, roles :
String
|
Array
(
String
))
Source
require_privilege!
(privilege_id :
String
|
Symbol
, roles :
String
|
Array
(
String
))
Source
require_privilege!
(privilege :
Rbacr::Privilege
, roles :
String
|
Array
(
String
))
Source
require_role!
(required_role :
String
|
Symbol
|
Rbacr::Role
, roles :
String
|
Array
(
String
))
Source
worker_roles
Source