Resource policy
rn_forge.auth.policy
Resource-level authorization contract.
ResourcePolicy
Bases: Protocol
Object-level and query-level checks beyond a route's requirement.
allows(principal, action, resource)
Return whether principal may perform action on resource.
scope(principal, action, query)
Return query narrowed to what principal may action.