[][src]Crate riam

A decision/policy engine inspired by AWS IAM policies

Modules

managers

Concrete policy managers

Structs

AuthRequest

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

RiamError

Error type for riam

Traits

PolicyManager

Manage creation, storage/retrieval, and deletion of policies.

Type Definitions

Result

Result type for riam