Expand description
A decision/policy engine inspired by AWS IAM policies
Modules§
- managers
- Concrete policy managers
Structs§
- Auth
Request - AuthRequest represents an attempted action on a resource. It describes who, what, and how the resource in question is to be accessed and is used to make authorization decisions.
- Engine
- Engine implements the logic to check if a specific request (action) by a principal is allowed or not on a particular resource.
- Policy
- Policy represents an access control policy which is used to either grant or deny a principal (users/groups/roles/etc) actions on specific resources.
- Statement
- Statement contains information about a single permission
Enums§
- Effect
- Effect indicates whether a policy statement allows or denies access
- Riam
Error - Error type for riam
Traits§
- Policy
Manager - Manage creation, storage/retrieval, and deletion of policies.
Type Aliases§
- Result
- Result type for riam