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

As an Open Data Hub Data Editor I want to edit only the contents of my organization (in both domains content (tourism) and timeseries (mobility)), to avoid to change contents I'm not responsible for. #384

Closed
sseppi opened this issue Oct 20, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@sseppi
Copy link

sseppi commented Oct 20, 2023

As for example, the communication team of NOI shouldn't have write permissions for all events provided by the EventShort endpoint. The idea is to allow them to change only the NOI events.

One idea could be to start and grant the permissions (e.g. read, write, etc.) using the DataProvider field, but probably we would need to do with more granularity by granting the permissions using a combination of DataProvider and Dataset. this could allow the following:

  • user 1 has write access to the Events of NOI and not to the Articles;
  • user 2 hasn't access to the Events of NOI and has write access to the Articles.

If you need more detail about it, feel free to ask!

@sseppi sseppi self-assigned this Oct 20, 2023
@sseppi sseppi added the enhancement New feature or request label Oct 20, 2023
@sseppi sseppi changed the title As an Open Data Hub Data Editor I want to edit only the contents of my organization, to avoid to change contents I'm not responsible for. As an Open Data Hub Data Editor I want to edit only the contents of my organization (in both domains content (tourism) and timeseries (mobility)), to avoid to change contents I'm not responsible for. Nov 15, 2023
@clezag
Copy link
Member

clezag commented Nov 15, 2023

Just throwing in some points to consider when we discuss this:

@RudiThoeni
Copy link
Member

We want to use the Keycloak Authorization Services to handle this. there is a Standard called UMA.
The workflow then would be
-The submitted Token is passed to Keycloak and we get all permissions of this User
-The api uses this permissions for read/write

@RudiThoeni
Copy link
Member

RudiThoeni commented Feb 9, 2024

Opened PR here #407

@sseppi sseppi unassigned dulvui and clezag Feb 9, 2024
@ohnewein ohnewein closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants