Permissions control what the Teamwork Graph CLI (TWG CLI) can do across your connected tools - essentially what it can read, write, manage, and delete. Configuring permissions correctly lets you give teams the access they need while protecting sensitive data in your organization.
For an overview of all CLI settings, see Manage TWG CLI settings for your organization.
TWG CLI groups OAuth permissions into three categories:
By default, Allow all permissions by default is on. In this mode, TWG CLI can request all current OAuth permissions shown in Atlassian Administration, and new TWG CLI permissions added later are allowed automatically.
To manage permissions individually, turn Allow all permissions by default off. Each category then opens a side panel where you can select all permissions in that category, clear all permissions, or choose individual permissions.
Permissions apply to OAuth 2.1, which is the only authentication method TWG CLI supports, except for Bitbucket commands.
Use write and delete access with caution. When write and delete permissions are enabled, users can create, edit, manage, or delete objects in your connected apps - such as Jira work items and Confluence pages - using the CLI. Only enable the permissions your organization genuinely needs.
To change permissions:
To block TWG CLI OAuth access for your organization, turn off Allow all permissions by default, clear the permissions in each category, save your changes, and choose Save and revoke sessions.
When you save permission changes, Atlassian Administration asks whether to revoke active TWG CLI sessions.
Revoking sessions is recommended when you remove permissions or clear a permission category.
Permissions are enforced server-side by Atlassian. This means they can't be bypassed by modifying the CLI binary or local config. When a command is sent, Atlassian checks the permissions configured for your organization before returning any data or performing any action. If TWG CLI isn't allowed to request the required permission, the command is rejected.
IP and location allowlists configured in your Atlassian organization also apply to CLI requests. If a request originates from a blocked IP address, it's rejected regardless of the user's permissions.
A blocked command appears as restricted, and you'll need to re-authenticate. If a command is unexpectedly blocked, check that:
Rate this page: