Custom roles
Organization roles built from a set of permission statements. Generated from the `notploy` command surface.
Organization roles built from a set of permission statements.
notploy custom-role exposes 6 commands. They map one-to-one onto the custom-role.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy custom-role --help to list these commands in your terminal, or
notploy custom-role <command> --help for a single command.
Commands
notploy custom-role all
Calls GET /api/trpc/customRole.all.
notploy custom-role all [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--profile <name> | string | No | — |
notploy custom-role create
Calls POST /api/trpc/customRole.create.
notploy custom-role create --roleName <value> --permissions <json> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--roleName <value> | string | Yes | — |
--permissions <json> | object | Yes | — |
--profile <name> | string | No | — |
notploy custom-role get-statements
Calls GET /api/trpc/customRole.getStatements.
notploy custom-role get-statements [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--profile <name> | string | No | — |
notploy custom-role members-by-role
Calls GET /api/trpc/customRole.membersByRole.
notploy custom-role members-by-role --roleName <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--roleName <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy custom-role remove
Calls POST /api/trpc/customRole.remove.
notploy custom-role remove --roleName <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--roleName <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy custom-role update
Calls POST /api/trpc/customRole.update.
notploy custom-role update --roleName <value> --permissions <json> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--roleName <value> | string | Yes | — |
--newRoleName <value> | string | No | — |
--permissions <json> | object | Yes | — |
--profile <name> | string | No | — |