Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Check administrator rights without assuming non-admins are read-only

pulse-triage[bot]2117b86ea4f5
diff --git a/docs/OIDC.md b/docs/OIDC.md
index 898eadda34..398caf1905 100644
--- a/docs/OIDC.md
+++ b/docs/OIDC.md
@@ -29,9 +29,10 @@ successful sign-in or administrator access.
the [HTTPS/proxy configuration](REVERSE_PROXY.md#before-configuring-the-proxy)
before signing in, without disabling certificate or origin checks.
4. **Verify without replacing the working login.** In a separate browser
- session, sign in as an intended administrator and check access to Security
- settings. Where you already have suitable users, also check an intended
- non-admin's read-only access and refusal for an excluded user. Do not change
+ session, sign in as an intended administrator and check administrator controls
+ in Security settings. Where you already have suitable users, also check that
+ an intended non-admin cannot use administrator controls and that an excluded
+ user is refused. Do not change
settings to test privileges. A successful provider **Test** checks discovery,
not the callback, user claims or resulting permissions. Keep the independent
administrator path until these checks pass; do not clear restrictions to
diff --git a/frontend-modern/public/docs/OIDC.md b/frontend-modern/public/docs/OIDC.md
index 898eadda34..398caf1905 100644
--- a/frontend-modern/public/docs/OIDC.md
+++ b/frontend-modern/public/docs/OIDC.md
@@ -29,9 +29,10 @@ successful sign-in or administrator access.
the [HTTPS/proxy configuration](REVERSE_PROXY.md#before-configuring-the-proxy)
before signing in, without disabling certificate or origin checks.
4. **Verify without replacing the working login.** In a separate browser
- session, sign in as an intended administrator and check access to Security
- settings. Where you already have suitable users, also check an intended
- non-admin's read-only access and refusal for an excluded user. Do not change
+ session, sign in as an intended administrator and check administrator controls
+ in Security settings. Where you already have suitable users, also check that
+ an intended non-admin cannot use administrator controls and that an excluded
+ user is refused. Do not change
settings to test privileges. A successful provider **Test** checks discovery,
not the callback, user claims or resulting permissions. Keep the independent
administrator path until these checks pass; do not clear restrictions to
diff --git a/scripts/tests/test_oidc_session_docs.py b/scripts/tests/test_oidc_session_docs.py
index 892eecfc10..439fac064c 100644
--- a/scripts/tests/test_oidc_session_docs.py
+++ b/scripts/tests/test_oidc_session_docs.py
@@ -30,6 +30,7 @@ def assert_callback_setup(case, guide):
case.assertEqual(positions, sorted(positions))
for marker in ("Show access restrictions & role mapping", "New UI providers are enabled on save",
"do not register a guessed ID", "not the callback, user claims",
+ "an intended non-admin cannot use administrator controls",
"does not create or restore local credentials"):
case.assertIn(marker, setup)