SubjectAccessReviewSpec

case class SubjectAccessReviewSpec(extra: Optional[Map[String, Vector[String]]], group: 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

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

Value Params
extra

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

group

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 "Group", 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

def getExtra: IO[K8sFailure, Map[String, Vector[String]]]

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.

def getGroup: IO[K8sFailure, Vector[String]]

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.

def getUid: IO[K8sFailure, String]

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.

def getUser: IO[K8sFailure, String]

User is the user you're testing for. If you specify "User" but not "Group", 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 "Group", 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

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product