Skip to content

AccessPolicyBuilder🔗

Constructor🔗

new AccessPolicyBuilder()

Methods🔗

build🔗

Builds the object.

public AccessPolicy build()

role🔗

The role that must apply this policy

public AccessPolicyBuilder role(com.grafana.foundation.cog.Builder<RoleRef> role)

rules🔗

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

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

public AccessPolicyBuilder rules(com.grafana.foundation.cog.Builder<AccessRule> rule)

scope🔗

The scope where these policies should apply

public AccessPolicyBuilder scope(com.grafana.foundation.cog.Builder<ResourceRef> scope)

See also🔗