-----------
# SelfSubjectAccessReview v1beta1
Group | Version | Kind
------------ | ---------- | -----------
Authorization | v1beta1 | SelfSubjectAccessReview
SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means "in all namespaces". Self is a special case, because users should always be able to check whether they can perform an action
Field | Description
------------ | -----------
apiVersion
*string* | APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources
kind
*string* | Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds
metadata
*[ObjectMeta](#objectmeta-v1)* |
spec
*[SelfSubjectAccessReviewSpec](#selfsubjectaccessreviewspec-v1beta1)* | Spec holds information about the request being evaluated. user and groups must be empty
status
*[SubjectAccessReviewStatus](#subjectaccessreviewstatus-v1beta1)* | Status is filled in by the server and indicates whether the request is allowed or not
### SelfSubjectAccessReviewSpec v1beta1
Field | Description
------------ | -----------
nonResourceAttributes
*[NonResourceAttributes](#nonresourceattributes-v1beta1)* | NonResourceAttributes describes information for a non-resource access request
resourceAttributes
*[ResourceAttributes](#resourceattributes-v1beta1)* | ResourceAuthorizationAttributes describes information for a resource access request
## Write Operations
See supported operations below...
## Create
>bdocs-tab:kubectl `kubectl` Command
```bdocs-tab:kubectl_shell
Coming Soon
```
>bdocs-tab:curl `curl` Command (*requires `kubectl proxy` to be running*)
```bdocs-tab:curl_shell
Coming Soon
```
>bdocs-tab:kubectl Output
```bdocs-tab:kubectl_json
Coming Soon
```
>bdocs-tab:curl Response Body
```bdocs-tab:curl_json
Coming Soon
```
create a SelfSubjectAccessReview
### HTTP Request
`POST /apis/authorization.k8s.io/v1beta1/selfsubjectaccessreviews`
### Query Parameters
Parameter | Description
------------ | -----------
pretty | If 'true', then the output is pretty printed.
### Body Parameters
Parameter | Description
------------ | -----------
body
*[SelfSubjectAccessReview](#selfsubjectaccessreview-v1beta1)* |
### Response
Code | Description
------------ | -----------
200
*[SelfSubjectAccessReview](#selfsubjectaccessreview-v1beta1)* | OK