Skip to content

authorization.v1.subjectRulesReviewSpec

"SubjectRulesReviewSpec adds information about how to conduct the check"

Index

Fields

fn 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 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 withScopes

withScopes(scopes)

"Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\"."

fn 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 withUser

withUser(user)

"User is optional. At least one of User and Groups must be specified."