Open dennis531 opened 1 week ago
This pull request is deployed at test.admin-interface.opencast.org/729/2024-06-21_11-03-41/ . It might take a few minutes for it to become available.
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/opencast-admin-interface:pr-729
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/opencast-admin-interface:pr-729
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
.
As for the alternative you suggested:
Therefore I'm slightly in favor of the no-button alternative, but it's not hard enough of an opinion that I would block this PR.
I prefer to have only one button, as the new create dropdown can also be used to select existing ACLs. In my opinion, this separation would rather confuse users and lead to lower usability.
We could also use the create dropdown for editing roles to avoid the workaround of removing policies.
Changes
Alternative
We could show only one button "new policy" and enable the creation in the dropdown
Screenshot
Close #658