Module pliantdb_core::permissions [−][src]
Expand description
Types for creating and validating permissions.
Re-exports
pub use self::group::PermissionGroup; | |
pub use self::role::Role; |
Modules
group | Schema types for permission groups. |
pliant | Types used for granting permissions within |
role | Schema types for roles. |
Structs
ActionName | A unique name of an action. |
PermissionDenied | An |
Permissions | A collection of allowed permissions. This is constructed from a
|
ResourceName | A unique name/identifier of a resource. |
Statement | A statement of permissions. A statement describes whether one or more
|
Enums
ActionNameList | A list of |
Identifier | A single element of a |
Traits
Action | An action that can be allowed or disallowed. |
Dispatcher | Dispatches |
Derive Macros
Action | Derives the |
Actionable | Derives a set of traits that can be used to implement a permissions-driven
API. There are options that can be customized with the |
Dispatcher | Derives the |