SubjectAccessReviewSpec

case class SubjectAccessReviewSpec(extra: Optional[Map[String, Vector[String]]], groups: Optional[Vector[String]], nonResourceAttributes: Optional[NonResourceAttributes], resourceAttributes: Optional[ResourceAttributes], uid: Optional[String], user: Optional[String])

SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set

Value parameters:
extra

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

groups

Groups is the groups you're testing for.

uid

UID information about the requesting user.

user

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Groups is the groups you're testing for.

Groups is the groups you're testing for.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets nonResourceAttributes.

Gets nonResourceAttributes.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Gets resourceAttributes.

Gets resourceAttributes.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

UID information about the requesting user.

UID information about the requesting user.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

User is the user you're testing for. If you specify "User" but not "Groups", then is it interpreted as "What if User were not a member of any groups

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

Inherited from:
Product