access-control assign-role
Usage​
tecton access-control assign-role [OPTIONS]
Description​
Assign a role to a principal.
Options​
| Flag | Description |
| ------------------------------ | -------------------------------------------------------------------------- | --- |
| -w
, --workspace TEXT
| Assign role to a specific workspace |
| --all-workspaces
| Assign role to all workspaces |
| -r
, --role
| One of viewer
, consumer
, editor
, owner
or admin
[required] |
| -u
, --user TEXT
| User Email |
| -s
, --service-account TEXT
| Service Account ID |
| -g
, --principal-group TEXT
| Principal Group ID | |