get_user_access
List permissions a user can perform on an OpenShift 4 cluster or namespace using oc auth can-i --list --as. Specify username and optional namespace to scope access checks.
Instructions
List all actions a user can perform using 'oc auth can-i --list --as='. Specify namespace to scope the check; omit for cluster-wide actions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster | No | ||
| username | Yes | ||
| namespace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |