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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Organization User Scope and RBAC Record
- Date:
2026-03-12 - Gate:
organization-user-scope-and-rbac - Environment:
- Managed local backend runs:
http://127.0.0.1:51688http://127.0.0.1:8766
- Entitlement profile:
multi-tenant - Live distinct users exercised through proxy-auth headers:
alicebobadmin-userviewer-user
- Managed local backend runs:
Automated Proof Baseline
go test ./internal/api -run 'TestOrgHandlers|TestMultiTenant|TestResourceHandlers_NonDefaultOrg|TestSetMultiTenantMonitor_WiresHandlers' -count=1go test ./internal/monitoring -run 'TestMultiTenantMonitor' -count=1cd frontend-modern && npx vitest run src/components/Settings/__tests__/OrganizationSharingPanel.test.tsx src/components/Settings/__tests__/RBACPaywallPanels.test.tsx src/utils/__tests__/rbacPermissions.test.ts src/utils/__tests__/rbacPresentation.test.ts src/utils/__tests__/organizationRolePresentation.test.ts src/utils/__tests__/organizationSettingsPresentation.test.ts src/utils/__tests__/frontendResourceTypeBoundaries.test.tscd tests/integration && PULSE_E2E_USE_LOCAL_BACKEND=1 PULSE_E2E_SKIP_PLAYWRIGHT_INSTALL=1 PULSE_MULTI_TENANT_ENABLED=true npm test -- tests/03-multi-tenant.spec.ts --project=chromium- Result: pass
Manual Exercise A: Org Membership and Management Isolation
- Seeded a clean managed local backend with the canonical quick security setup, then relaunched the same data directory with proxy auth enabled so the live HTTP surface could exercise distinct users
aliceandbob. - As
alice, created orgmanual-org-a-1773353229067-469132. - As
bob, created orgmanual-org-b-1773353229067-199801. - As
alice, created shared orgmanual-org-shared-1773353229067-962894. - As
alice, addedbobto the shared org asviewer. - Listed
GET /api/orgsas both users and confirmed membership-filtered visibility:alicesawdefault,manual-org-a-1773353229067-469132, andmanual-org-shared-1773353229067-962894bobsawdefault,manual-org-b-1773353229067-199801, andmanual-org-shared-1773353229067-962894
- As
bobwhile stillviewer, attemptedPUT /api/orgs/{shared}and received403withAdmin role required for this organization. - As
alice, promotedbobtoadminviaPOST /api/orgs/{shared}/members. - As
bob, repeatedPUT /api/orgs/{shared}and confirmed it succeeded with200. - As
alice, demotedbobback toviewer. - As
bob, repeatedPUT /api/orgs/{shared}and confirmed it immediately failed again with403. - As
alice, attemptedPUT /api/admin/users/alice/roleson her own account and confirmed the request failed closed with403andcode=self_modification_denied. - As
alice, created a cross-org share from org A into org B withaccessRole=editor. - As
bob, listedGET /api/orgs/{orgB}/shares/incomingand confirmed the incoming share preservedaccessRole=editor. - As
bob, attemptedGET /api/orgs/{orgA}/sharesand confirmed the source-org share list remained blocked with403. - Deleted the temporary share and all three temporary orgs after the rehearsal.
Manual Exercise B: Scoped RBAC Permission Isolation
- Created three organizations as
admin-user:rbacscope20260312rbachidden20260312rbacsource20260312
- Added
viewer-usertorbacscope20260312as an organizationviewer. - Confirmed
viewer-usercould only see:defaultrbacscope20260312and could not seerbachidden20260312orrbacsource20260312.
- Assigned scoped RBAC role
viewertoviewer-userinrbacscope20260312and confirmed effective permissions were:readon*inrbacscope20260312- empty in
rbachidden20260312
- Promoted the same scoped RBAC role to
admininrbacscope20260312and confirmed effective permissions changed to:adminon*inrbacscope20260312- still empty in
rbachidden20260312
- Confirmed self-role mutation failed closed in both relevant ways:
viewer-userattempting to mutate their own roles was blocked before mutation with403 Admin privileges requiredadmin-userattempting to mutate their own roles was blocked with403 self_modification_denied
- Created a cross-org share from
rbacsource20260312torbacscope20260312withaccessRole=editor. - Confirmed
viewer-userdid not see that incoming share while their organization membership inrbacscope20260312remainedviewer. - Promoted
viewer-userorganization membership inrbacscope20260312toeditor. - Confirmed the same incoming share became visible only after that membership promotion, with the intended
editoraccess role preserved.
Outcome
- Organization visibility stayed scoped to membership.
- Membership role changes immediately changed the allowed write surface for the shared organization.
- Scoped RBAC permissions changed in the intended organization only and did not leak into a second organization.
- Self-role escalation failed closed.
- Cross-org shares preserved the intended access role and did not expose source-org management to the target-org user.
- The live HTTP surface enforced least privilege consistently across org membership, role change, scoped RBAC assignment, self-role mutation, and cross-org sharing behavior.
Notes
- The default organization remains visible by design; the critical least-privilege check is that non-member custom organizations stayed hidden.
- The live managed-backend exercise was captured from the same API surfaces that power the Settings organization, roles, assignments, and sharing flows.