Skip to main content

Crate sova_scope

Crate sova_scope 

Source
Expand description

Scoped RBAC: membership, role matrix, ownership hooks.

Modules§

scope_invitation
scope_membership
scope_membership_audit

Structs§

AuditEntry
AuditStore
AuthorizeEngine
Capabilities
FnOwnerResolver
InviteStore
MatrixBuilder
Membership
MembershipCache
MembershipStore
MutateOpts
Options for membership mutations (audit actor + cache invalidate).
OwnerRegistry
ResourceRef
RoleMatrix
ScopeAuth
ScopeAuthState
ScopeInvitation
Generated by sea-orm-macros
ScopeMembership
Generated by sea-orm-macros
ScopeMembershipAudit
Generated by sea-orm-macros
ScopeMigrator
ScopeRef

Enums§

Ability
Condition
ResourcePattern

Constants§

AUDIT_ADDED
AUDIT_REMOVED
AUDIT_ROLE_CHANGED
INVITE_ACCEPTED
INVITE_PENDING
INVITE_REVOKED
ROLE_ADMIN
ROLE_EDITOR
ROLE_OWNER
ROLE_VIEWER

Traits§

OwnerResolver
ScopeExt

Functions§

callback_owner
is_privileged_role
normalize_role

Type Aliases§

SharedEngine