ResourcePolicy
Represents a policy defining the rules for accessing a specific type of resource.
Functions
Link copied to clipboard
Adds a rule to allow the specified actions if the condition is met.
Link copied to clipboard
Adds a rule to allow all actions if the condition is met.
Link copied to clipboard
Adds a rule to always allow the specified actions, immaterial of the principal accessing the resource.
Link copied to clipboard
Adds a rule to deny the specified actions if the condition is met.
Link copied to clipboard
Adds a rule to deny all actions if the condition is met.
Link copied to clipboard
Creates a derived role definition based on the condition provided.
Link copied to clipboard
fun <Filter : Any> listFilter(action: ResourceAction<Resource>, producer: ListFilterContext<Principal>.() -> Filter?)