Skip to content

authorization.v1.userRestriction

"UserRestriction matches a user either by a string match on the user name, a string match on the name of a group to which the user belongs, or a label selector applied to the user labels."

Index

Fields

fn withGroups

withGroups(groups)

"Groups specifies a list of literal group names."

fn withGroupsMixin

withGroupsMixin(groups)

"Groups specifies a list of literal group names."

Note: This function appends passed data to existing values

fn withLabels

withLabels(labels)

"Selectors specifies a list of label selectors over user labels."

fn withLabelsMixin

withLabelsMixin(labels)

"Selectors specifies a list of label selectors over user labels."

Note: This function appends passed data to existing values

fn withUsers

withUsers(users)

"Users specifies a list of literal user names."

fn withUsersMixin

withUsersMixin(users)

"Users specifies a list of literal user names."

Note: This function appends passed data to existing values