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

Allow changes if permitted by app or user #362

Merged
merged 4 commits into from
Jun 27, 2024
Merged

Conversation

kofrezo
Copy link
Contributor

@kofrezo kofrezo commented Jun 25, 2024

Change the current behavior so that a change must be permitted by the
applications ACLs or the users ACLs (if there is no application) but no
longer the application and the owner of the application.

This is the wanted behavior because we either commit changes from the
Servershell where we want to evaluate the permissions of the logged in
user or from the Adminapi where we want to evaluate the permissions of
the application. We do not care about the owner of the application for
the evaluation as applications should be stand alone.

The ownership is relevant for disabling all applications when a user
gets disabled and of course to keep track of who uses the application.

The old behavior has historical reasons that are no longer met.

kofrezo added 4 commits June 24, 2024 14:31
Change the current behavior so that a change must be permitted by the
applications ACLs or the users ACLs (if there is no application) but no
longer the application and the owner of the application.

This is the wanted behavior because we either commit changes from the
Servershell where we want to evaluate the permissions of the logged in
user or from the Adminapi where we want to evaluate the permissions of
the application. We do not care about the owner of the application for
the evaluation as applications should be stand alone.

The ownership is relevant for disabling all applications when a user
gets disabled and of course to keep track of who uses the application.

The old behavior has historical reasons that are no longer met.
@kofrezo kofrezo requested a review from brainexe June 25, 2024 12:19
@kofrezo kofrezo merged commit 0572250 into main Jun 27, 2024
5 checks passed
@kofrezo kofrezo deleted the dk_acl_permit_user_or_app branch June 27, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants