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 deletion of reference users from the Admin UI #5058

Conversation

Arnei
Copy link
Member

@Arnei Arnei commented Jun 28, 2023

Resolves #4789

External user providers will store users in the opencast database table oc_user_refs. However, external user providers may fail to remove users from Opencast when they should not exist anymore, and there is currently no easy way to remove users from that table (besides directly modifying the database). This can make it difficult for adopter to comply with data privacy policies.

This commit adds deletion functionality to the JpaUserReferenceProvider, and allows deletion of users from other providers than "system" or "opencast", even if they are not "manageable" (which applies to all these users). It does not allow any changes beyond that, i.e. you may now delete a user created by an external provider, but you still can't change their name.

Your pull request should…

External user providers will store users in the opencast database
table `oc_user_refs`. However, external user providers may fail to remove
users from Opencast when they should not exist anymore, and there is
currently no easy way to remove users from that table (besides directly
modifying the database). This can make it difficult for adopter to comply
with data privacy policies.

This commit adds deletion functionality to the `JpaUserReferenceProvider`,
and allows deletion of users from other providers than "system" or "opencast",
even if they are not "manageable" (which applies to all these users). It does
not allow any changes beyond that, i.e. you may now delete a user created
by an external provider, but you still can't change their name.
@Arnei Arnei added enhancement admin-ui-feature-tracking Tracking new features landing in the old admin-ui labels Jun 28, 2023
@aliyevTU
Copy link
Contributor

We tested this, all looks good.

@JulianKniephoff
Copy link
Member

Removing admin-ui-feature-tracking label in favor of opencast/opencast-admin-interface#327.

@JulianKniephoff JulianKniephoff removed the admin-ui-feature-tracking Tracking new features landing in the old admin-ui label Apr 23, 2024
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.

None yet

4 participants