Filter available roles in dropdown by config#1561
Open
Arnei wants to merge 1 commit intoopencast:developfrom
Open
Filter available roles in dropdown by config#1561Arnei wants to merge 1 commit intoopencast:developfrom
Arnei wants to merge 1 commit intoopencast:developfrom
Conversation
Adds a feature that reduces the number of available options in the dropdowns in the access policy tab. It does this bx matching prefixes that are defined in the config in the backend. This can for example be used to filter out all roles with "ROLE_GROUP" prefix, to make the dropdowns more usable.
10 tasks
mtneug
reviewed
Apr 2, 2026
|
|
||
| // Filter available options by custom prefixes from the config | ||
| if (aclDefaults) { | ||
| if (aclDefaults["display_role_filter_prefixes"]) { |
Member
There was a problem hiding this comment.
filter is unambiguous. Is it "filter out" or "filter for". Maybe change the config name to display_role_filter_blacklist_prefixes?
Contributor
|
Use Run test server using develop.opencast.org as backend: Specify a different backend like stable.opencast.org: It may take a few seconds for the interface to spin up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a feature that reduces the number of available options in the dropdowns in the access policy tab. It does this bx matching prefixes that are defined in the
config in the backend.
This can for example be used to filter out all roles with "ROLE_GROUP" prefix, to make the dropdowns more usable.
Will not break anything without the backend PR
How to test this
Requires you to be able to make config changes in the backend, else you can only test that everything works as usual.