accesspolicy
grafonnet.accesspolicy
Subpackages
Index
fn withRole(value)
fn withRoleMixin(value)
fn withRules(value)
fn withRulesMixin(value)
fn withScope(value)
fn withScopeMixin(value)
obj role
obj scope
Fields
fn withRole
withRole(value)
PARAMETERS:
- value (
object
)
The role that must apply this policy
fn withRoleMixin
withRoleMixin(value)
PARAMETERS:
- value (
object
)
The role that must apply this policy
fn withRules
withRules(value)
PARAMETERS:
- value (
array
)
The set of rules to apply. Note that * is required to modify access policy rules, and that "none" will reject all actions
fn withRulesMixin
withRulesMixin(value)
PARAMETERS:
- value (
array
)
The set of rules to apply. Note that * is required to modify access policy rules, and that "none" will reject all actions
fn withScope
withScope(value)
PARAMETERS:
- value (
object
)
The scope where these policies should apply
fn withScopeMixin
withScopeMixin(value)
PARAMETERS:
- value (
object
)
The scope where these policies should apply
obj role
fn role.withKind
role.withKind(value)
PARAMETERS:
- value (
string
)- valid values:
"Role"
,"BuiltinRole"
,"Team"
,"User"
- valid values:
Policies can apply to roles, teams, or users Applying policies to individual users is supported, but discouraged
fn role.withName
role.withName(value)
PARAMETERS:
- value (
string
)
fn role.withXname
role.withXname(value)
PARAMETERS:
- value (
string
)
obj scope
fn scope.withKind
scope.withKind(value)
PARAMETERS:
- value (
string
)
fn scope.withName
scope.withName(value)
PARAMETERS:
- value (
string
)