Module: Mumukit::Auth::Roles

Included in:
Permissions
Defined in:
lib/mumukit/auth/roles.rb

Constant Summary collapse

FINE_GRAINED_ROLES =
[
  :ex_student, :student, :teacher, :headmaster, :writer, :editor, :janitor,
  :moderator, :manager
]
COARSE_GRAINED_ROLES =
[:supervisor, :admin, :owner]
ROLES =
COARSE_GRAINED_ROLES + FINE_GRAINED_ROLES