authorization.v1.subjectRulesReview
"SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace"
Index
Fields
fn new
new(name)
new returns an instance of SubjectRulesReview
obj spec
"SubjectRulesReviewSpec adds information about how to conduct the check"
fn spec.withGroups
withGroups(groups)
"Groups is optional. Groups is the list of groups to which the User belongs. At least one of User and Groups must be specified."
fn spec.withGroupsMixin
withGroupsMixin(groups)
"Groups is optional. Groups is the list of groups to which the User belongs. At least one of User and Groups must be specified."
Note: This function appends passed data to existing values
fn spec.withScopes
withScopes(scopes)
"Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\"."
fn spec.withScopesMixin
withScopesMixin(scopes)
"Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\"."
Note: This function appends passed data to existing values
fn spec.withUser
withUser(user)
"User is optional. At least one of User and Groups must be specified."