Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More restrictive service user rights #765

Open
kwin opened this issue Aug 18, 2024 · 1 comment
Open

More restrictive service user rights #765

kwin opened this issue Aug 18, 2024 · 1 comment

Comments

@kwin
Copy link
Member

kwin commented Aug 18, 2024

Currently the (single) service user is used for almost all operations and grants full access to the repository.

set principal ACL for actool-service
    allow jcr:all on /
    allow jcr:all on :repository 
end

The permissions should be limited to what is actually necessary.

@kwin
Copy link
Member Author

kwin commented Aug 18, 2024

The necessary permissions differ by functionality:

  1. Dumping Authorizables/ACLs
    • jcr:read on /home/users and /home/groups
    • jcr:readACL on /
  2. Installing ACTool configurations
    • jcr:readACL and jcr:modifyACL on /
    • jcr:read and jcr:write on /home/users/ and /home/groups
    • potentially jcr:write anywhere due to initialContent
    • jcr:read inside configurationRootPath
  3. Writing/Reading ACTool history
    • jcr:read/write on /var/statistics/actool and /apps/netcentric/achistory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant