Granting Access
Roles
Infra allows granting different levels of access via roles, such as view
, edit
or admin
. Each connector has different roles that can be used:
Grant access
To grant access, use infra grants add
:
infra grants add [email protected] staging --role edit
Note: the same command can be used to grant access to a group using the boolean [--group] flag, for example:
infra grants add --group engineering staging --role edit
Revoking access
Access is revoked via infra grants remove
:
infra grants remove [email protected] staging --role edit
Viewing access
infra grants list
USER ACCESS DESTINATION
[email protected] edit development
[email protected] view production
GROUP ACCESS DESTINATION
Engineering edit development.monitoring
Engineering view production
Design edit development.web