Skip to content

Fix warning wrongly appearing on template change#1584

Open
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:warning-wrong-on-template-change
Open

Fix warning wrongly appearing on template change#1584
Arnei wants to merge 1 commit intoopencast:r/19.xfrom
Arnei:warning-wrong-on-template-change

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Apr 23, 2026

When changing the template in the acl tab, if the current acl settings were invalid, a warning would appear after the template change about how the acl was invalid, when due to the template change it actually no longer wasn't.
This fixes that.

How to test this

Get your ACL to be invalid (by removing all roles, or by adding a new role and not selecting a role in the dropdown). Then change template.

When changing the template in the acl tab, if the current acl
settings were invalid, a warning would appear *after* the template
change about how the acl was invalid, when due to the template
change it actually no longer wasn't.
This fixes that.
@Arnei Arnei added the type:bug Something isn't working label Apr 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Use docker or podman to test this pull request locally.

Run test server using develop.opencast.org as backend:

podman run --rm -it -p 127.0.0.1:3000:3000 ghcr.io/opencast/admin-interface:pr-1584

Specify a different backend like stable.opencast.org:

podman run --rm -it -p 127.0.0.1:3000:3000 -e PROXY_TARGET=https://stable.opencast.org ghcr.io/opencast/admin-interface:pr-1584

It may take a few seconds for the interface to spin up.
It will then be available at http://127.0.0.1:3000.
For more options you can pass on to the proxy, take a look at the README.md.

@github-actions
Copy link
Copy Markdown
Contributor

This pull request is deployed at test.admin-interface.opencast.org/1584/2026-04-23_08-42-31/ .
It might take a few minutes for it to become available.

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.

1 participant