Notploy

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]
OptionTypeRequiredAllowed values
--profile <name>stringNo—

notploy custom-role create

Calls POST /api/trpc/customRole.create.

notploy custom-role create --roleName <value> --permissions <json> [options]
OptionTypeRequiredAllowed values
--roleName <value>stringYes—
--permissions <json>objectYes—
--profile <name>stringNo—

notploy custom-role get-statements

Calls GET /api/trpc/customRole.getStatements.

notploy custom-role get-statements [options]
OptionTypeRequiredAllowed values
--profile <name>stringNo—

notploy custom-role members-by-role

Calls GET /api/trpc/customRole.membersByRole.

notploy custom-role members-by-role --roleName <value> [options]
OptionTypeRequiredAllowed values
--roleName <value>stringYes—
--profile <name>stringNo—

notploy custom-role remove

Calls POST /api/trpc/customRole.remove.

notploy custom-role remove --roleName <value> [options]
OptionTypeRequiredAllowed values
--roleName <value>stringYes—
--profile <name>stringNo—

notploy custom-role update

Calls POST /api/trpc/customRole.update.

notploy custom-role update --roleName <value> --permissions <json> [options]
OptionTypeRequiredAllowed values
--roleName <value>stringYes—
--newRoleName <value>stringNo—
--permissions <json>objectYes—
--profile <name>stringNo—

On this page