Class: Alberich::Privilege
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Alberich::Privilege
- Defined in:
- app/models/alberich/privilege.rb
Constant Summary collapse
- PERM_SET =
"set_perms"
- PERM_VIEW =
can create/modify/delete permission records on this object
"view_perms"
- CREATE =
can view permission records on this object
"create"
- MODIFY =
can create objects of this type here
"modify"
- VIEW =
can modify objects of this type here
"view"
- USE =
can view objects of this type here
"use"
- ACTIONS =
can use objects of this type here
[ CREATE, MODIFY, USE, VIEW, PERM_SET, PERM_VIEW]
- TARGET_TYPES =
["Alberich::BasePermissionObject"] + Alberich. + Alberich.additional_privilege_scopes