Module api_restriction_policies

Source

Structs§

RestrictionPoliciesAPI
A restriction policy defines the access control rules for a resource, mapping a set of relations (such as editor and viewer) to a set of allowed principals (such as roles, teams, or users). The restriction policy determines who is authorized to perform what actions on the resource.
UpdateRestrictionPolicyOptionalParams
UpdateRestrictionPolicyOptionalParams is a struct for passing parameters to the method RestrictionPoliciesAPI::update_restriction_policy

Enums§

DeleteRestrictionPolicyError
DeleteRestrictionPolicyError is a struct for typed errors of method RestrictionPoliciesAPI::delete_restriction_policy
GetRestrictionPolicyError
GetRestrictionPolicyError is a struct for typed errors of method RestrictionPoliciesAPI::get_restriction_policy
UpdateRestrictionPolicyError
UpdateRestrictionPolicyError is a struct for typed errors of method RestrictionPoliciesAPI::update_restriction_policy