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.

Bind OIDC plan docs to RBAC governance

rcourtmana0aa5d4e557b
diff --git a/docs/release-control/v6/internal/subsystems/organization-settings.md b/docs/release-control/v6/internal/subsystems/organization-settings.md
index 9bba34053c..9937c15b1f 100644
--- a/docs/release-control/v6/internal/subsystems/organization-settings.md
+++ b/docs/release-control/v6/internal/subsystems/organization-settings.md
@@ -374,6 +374,14 @@ themselves: RBAC gates may show neutral unavailable-capability copy, but must
not keep `(Pro)`, plan-tier labels, or paid-action wording after the CTA is
suppressed.
+Community SSO owns mapping identity-provider groups to the built-in `admin`,
+`operator`, and `viewer` roles. That login-time mapping must remain available
+without the `rbac` capability; the paid RBAC boundary begins at custom-role
+creation and manual user-assignment administration. `docs/RBAC.md` and its
+shipped `frontend-modern/public/docs/RBAC.md` mirror must state this boundary
+identically, and the docs-links proof must pin both the byte synchronization
+and the Community-versus-Pro wording.
+
Organization Settings is a browser-session administration surface even when
first-run also leaves a generated API token in browser storage. Its API client
must prefer the active session cookie for organization reads, invitations,
diff --git a/frontend-modern/src/utils/__tests__/docsLinks.test.ts b/frontend-modern/src/utils/__tests__/docsLinks.test.ts
index e1e9320fd7..d6c1f6e755 100644
--- a/frontend-modern/src/utils/__tests__/docsLinks.test.ts
+++ b/frontend-modern/src/utils/__tests__/docsLinks.test.ts
@@ -131,6 +131,23 @@ describe('docsLinks', () => {
expect(rbacGuide).toMatch(/Removal does not disable\s+the upstream IdP account/);
});
+ it('ships the Community SSO and Pro RBAC role boundary', () => {
+ const rbacGuide = readFileSync(path.join(repoRoot, 'docs', 'RBAC.md'), 'utf8');
+ const shippedRBACGuide = readFileSync(
+ path.join(frontendRoot, 'public', 'docs', 'RBAC.md'),
+ 'utf8',
+ );
+ const compactGuide = rbacGuide.replace(/\s+/g, ' ');
+
+ expect(shippedRBACGuide).toBe(rbacGuide);
+ expect(compactGuide).toContain(
+ 'built-in roles can be automatically assigned based on group membership on every plan',
+ );
+ expect(compactGuide).toContain(
+ 'Creating custom roles and manually managing user assignments require Pro RBAC',
+ );
+ });
+
it('ships the configuration transfer authorization contract', () => {
const apiReference = readFileSync(path.join(repoRoot, 'docs', 'API.md'), 'utf8');
const shippedAPIReference = readFileSync(