Skip to content

Disable deleting entries from readonly creatable selects#1666

Merged
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:readonly-for-creatable-select-fix
Feb 3, 2026
Merged

Disable deleting entries from readonly creatable selects#1666
gregorydlogan merged 1 commit intoopencast:r/19.xfrom
Arnei:readonly-for-creatable-select-fix

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Jan 28, 2026

Fixes #641.

Admins can configure metadata fields as "read only". Users should not be able to change those fields. Unfortunately, they were able to delete entries from creatable selects (contributors, presenters) even if they should have been read-only. This fixes that by removing the delete button for creatable selects.

How to test this

In order to test this, you have to able to change the editor configuration. You could change it like in #641 for example.

Admins can configure metadata fields as "read only". Users
should not be able to change those fields. Unfortunately,
they were able to delete entries
from creatable selects (contributors, presenters)
even if they should have been read-only.
This fixes that by removing the delete button for creatable selects.
@Arnei Arnei added the type:bug Something isn't working label Jan 28, 2026
@github-actions
Copy link
Copy Markdown

This pull request is deployed at test.editor.opencast.org/1666/2026-01-28_15-41-23/ .
It might take a few minutes for it to become available.

@gregorydlogan gregorydlogan self-assigned this Feb 3, 2026
@gregorydlogan gregorydlogan merged commit 9931a52 into opencast:r/19.x Feb 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants