-
Notifications
You must be signed in to change notification settings - Fork 0
Home
skreem edited this page Feb 9, 2017
·
2 revisions
Welcome to the scram wiki!
Scram is a flexible authorization system which is based on a hierarchy representing abilities to perform actions.
-
Holder
: This is a module representing anything which can holdPolicies
. We leave a group system (or having individual users contain policies) up to the user of Scram. -
Policy
: A policy groups together manyPermissionNodes
-
PermissionNode
: Represents any action. The name itself could be the action if the node has noTargets
-
Target
: Defines what aPermissionNode
can be applied to. If just thecollection
attribute is set, thePermissionNode
embedding theTarget
can apply any action to any instance of that model. States defined in the attributematch_states
can fine tune what the node can do.