Capabilities
RBAC space roles
The Confluence connector supports two modes for syncing space access:- Granular space permissions (default): Syncs individual noun-verb permission pairs (for example,
read-space,administer-space) per space. This is the default behavior. - RBAC space roles: Syncs Confluence’s built-in space roles and their assignments instead of granular permissions. Enable this mode by setting the
--use-rbacflag (orBATON_USE_RBAC=true).
Gather Confluence credentials
Configuring the connector requires you to pass in credentials generated in Confluence. Gather these credentials before you move on.Create an API token
1
Log into your Confluence account with Administrator access.
3
Click Create API token.
4
Give your token a label, such as C1, and click Create.
5
Carefully copy and save the newly generated API token.
Configure the Confluence connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Confluence connector is now pulling access data into C1.
1
In C1, navigate to Apps > Connectors and click Add connector.
2
Search for Confluence v2 and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
Enter your Confluence domain (the URL of your Confluence instance is
<YOUR DOMAIN>.atlassian.net) into the Confluence site domain field.9
Enter the username for your Confluence account in the Username field.
10
Paste the API token into the API key field.
11
Optional. If want to sync information on Confluence users’ personal spaces and their permissions, uncheck the Skip syncing personal spaces and their permissions box.
12
Click Save.
13
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
Spaces entitlements synced by default
Each Confluence Space has its own set of permissions and allowed actions, which can result in a very large set of entitlement and grant access information in each Space. The Confluence connector syncs entitlements formed by valid pairs of targets (nouns) and operators (verbs), such asadminister-space or read-space.
When configuring the connector in C1, the noun and verb fields are pre-filled with a suggested subset (
space noun and 6 common verbs). These suggested values only pre-populate the configuration form — they are not automatically applied. If you leave the noun and verb fields empty (or do not set --noun / --verb flags), the connector syncs all available nouns and verbs listed below.attachmentblogpostcommentpagespace
administerarchivecreatedeleteexportreadrestrict_contentupdate
--noun and --verb flags when setting up the Confluence connector in self-hosted mode, or configure the noun and verb fields in the C1 UI for cloud-hosted connectors. See the baton-confluence repo’s README for more information.
Space permission entitlements are only synced when RBAC mode is disabled (the default). When
--use-rbac is enabled, the connector syncs Space Roles and Space Role Assignments instead. See RBAC space roles for details.