Fix bad permission checks in Web UI

Fix attempts to check for permissions that don't exist in the Web UI
that has gone unnoticed because the check still succeeds when the
account has the cluster admin permission.
This commit is contained in:
Hornwitser committed 2024-02-06 22:43:04 +01:00
1 parent 535e43b527
commit d3f8c993b1
5 files changed
+6 -5

No files matched your search

+1
View File
@@ -9,6 +9,7 @@
- Fixed instance screen in Web UI not updating when an instance was reassigned.
- Fixed an error thrown in the rendering of one page in the Web UI causing all pages to become inaccessible.
- Fixed Web UI not showing instance saves when the permission to list and subscribe the saves is granted but the user is not a cluster admin.
- Similarly fixed Web UI not showing the mod pack create, delete, list and host revoke token actions if the user is not a cluster admin.
## Version 2.0.0-alpha.16