View Source Rolex (Rolex v0.1.1)
Documentation for Rolex
.
Summary
Functions
Returns true if any of the given permissions meeting the conditions in opts
are granted.
Returns true if any of the given permissions meeting the conditions in opts
are granted.
Fetches from the database a list of all permissions granted to subject
.
Functions
See Rolex.Control.deny/1
.
Returns true if any of the given permissions meeting the conditions in opts
are granted.
Returns true if any of the given permissions meeting the conditions in opts
are granted.
Fetches from the database a list of all permissions granted to subject
.
This list can subsequently be used for in-memory permission checks by e.g. granted_role?/3
.