Skip to content

AccessPolicyBuilder🔗

Constructor🔗

new AccessPolicyBuilder()

Methods🔗

build🔗

Builds the object.

build()

role🔗

The role that must apply this policy

role(role: cog.Builder<accesspolicy.RoleRef>)

rules🔗

The set of rules to apply. Note that * is required to modify

access policy rules, and that "none" will reject all actions

rules(rule: cog.Builder<accesspolicy.AccessRule>)

scope🔗

The scope where these policies should apply

scope(scope: cog.Builder<accesspolicy.ResourceRef>)

See also🔗