I built an agent for my org, and I want to limit its data access by only giving it access to a specific part of our documentation
Hello and welcome to the Community @Gadi Baram
@Connor is spot-on, you manage a service account just like a regular user account. The key is to avoid giving it access through broad Confluence groups.
Instead, manage it more specifically by creating dedicated groups for your service accounts.
Hi @Gadi Baram a service account is just an account that's not associated with a person. You would manage the service accounts application access and permissions the same way you manage them for a user account. Here's some related documentation:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My use case is not app permission-related, so the Service account has the correct App Permission only for Confluence and Jira, but in the app, I want to restrict its access to specific spaces in Jira, which is not a problem.
The documents above do not show how I can grant access to Confluence space (X) but not to Space (Y).
Moreover, I can't find the service account when I try to add a user to a specific space, as I will do with other users. I'm guessing it's because service accounts have access to all spaces if they get access to Confluence, which is my problem.
If this doesn't already exist, I think it's a very important improvement now that everyone is building AI agents and data segregation, because it's a real point of concern.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to solve this issue, but it wasn't straightforward:
1. Created a new group with confluance permissions only
2. Added the Service account to that group
3. Removed the service account from the general Confluence group.
4. Added the new group to the specific Confluence space and gave it the correct permissions for the space
This way, everyone can access the Confluance space, but the service account has access only to that space.
I hope this helps someone
good luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.