Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Question: Roles for functional accounts #606

Open
linupi opened this issue Mar 15, 2022 · 1 comment
Open

Question: Roles for functional accounts #606

linupi opened this issue Mar 15, 2022 · 1 comment
Assignees

Comments

@linupi
Copy link

linupi commented Mar 15, 2022

Is there somewhere a list of known roles for functional accounts and their respective permissions? E.g. I see admin and ingestor as role in

https://github.com/SciCatProject/backend/blob/017c01dbb3870efa9779b62d3d024318e636d5d9/server/functionalAccounts_example.json#L5

I was wondering 1) where these roles are defined and 2) if it is possible to define new (global) roles (e.g. one that has read-only access to all datasets).

@stephan271
Copy link
Member

Sorry, documentation is definitely missing here. The main roles that we are using are ingestor and archiveManager (plus the beamline accounts). The ingestor has read access to all data (and can add new datasets). Adding a new global role requires to adjust the ACLs in the model definitions correspondingly.

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

No branches or pull requests

2 participants