Skip to content

AccessPolicyBuilder🔗

Constructor🔗

new AccessPolicyBuilder()

Methods🔗

build🔗

Builds the object.

build()

role🔗

The role that must apply this policy

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Accesspolicy\RoleRef> $role

role(\Grafana\Foundation\Cog\Builder $role)

rules🔗

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

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

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Accesspolicy\AccessRule> $rule

rules(\Grafana\Foundation\Cog\Builder $rule)

scope🔗

The scope where these policies should apply

@param \Grafana\Foundation\Cog\Builder<\Grafana\Foundation\Accesspolicy\ResourceRef> $scope

scope(\Grafana\Foundation\Cog\Builder $scope)

See also🔗