Add panel role switching and feature configuration #152

Merged
parkel merged 3 commits from feature/panel-configuration-and-roles into main 2026-11-23 21:49:45 +01:00
Owner

Changes

  • Add a panel role selector in the account area for logins with multiple assigned roles. Customer and Customer manager use separate account scopes. Access checks cover direct URLs and submissions. Restoring the administrator role requires a verified second factor. phpMyAdmin and Roundcube tickets retain their issuing role scope.
  • Let verified superusers assign a tenant role to an existing active login. New Customer manager assignments use the configured default profile. The assignment is recorded in the administrator audit log.
  • Add Configure features under About Coulobre. Show prerequisites, effective policy and whether DNS or mail use a local or linked service. Verified superusers can pause or resume configured capabilities for new panel requests. Existing sites, scheduled work and backup archives remain available. DNS defaults are editable through the existing template page.
  • Validate service sockets and linked receiver readiness before enabling a paused feature. Save all choices together and retain the prior choices on failed validation. Host setup and sensitive credentials stay under the existing deployment workflow.

Verification

  • Ran 549 Django tests and 9 installer tests. One kernel peer check was skipped by the local sandbox. Ruff, Django migration checks, and source and wheel checks passed.
  • Verified all three role switches and feature saves through Chromium at 1280 px in light mode and 360 px in dark mode. Browser checks used an isolated test database and a service-readiness fixture.
  • Regression tests cover direct URL scope, former staff and tenant permissions, role revocation, multi-factor authentication, stale feature form submissions and linked receiver mismatch.

Closes #137
Closes #138

## Changes - Add a panel role selector in the account area for logins with multiple assigned roles. Customer and Customer manager use separate account scopes. Access checks cover direct URLs and submissions. Restoring the administrator role requires a verified second factor. phpMyAdmin and Roundcube tickets retain their issuing role scope. - Let verified superusers assign a tenant role to an existing active login. New Customer manager assignments use the configured default profile. The assignment is recorded in the administrator audit log. - Add **Configure features** under **About Coulobre**. Show prerequisites, effective policy and whether DNS or mail use a local or linked service. Verified superusers can pause or resume configured capabilities for new panel requests. Existing sites, scheduled work and backup archives remain available. DNS defaults are editable through the existing template page. - Validate service sockets and linked receiver readiness before enabling a paused feature. Save all choices together and retain the prior choices on failed validation. Host setup and sensitive credentials stay under the existing deployment workflow. ## Verification - Ran 549 Django tests and 9 installer tests. One kernel peer check was skipped by the local sandbox. Ruff, Django migration checks, and source and wheel checks passed. - Verified all three role switches and feature saves through Chromium at 1280 px in light mode and 360 px in dark mode. Browser checks used an isolated test database and a service-readiness fixture. - Regression tests cover direct URL scope, former staff and tenant permissions, role revocation, multi-factor authentication, stale feature form submissions and linked receiver mismatch. Closes #137 Closes #138
parkel added this to the v0.12.0 - Panel usability milestone 2026-11-23 20:37:42 +01:00
parkel added 3 commits 2026-11-23 20:37:42 +01:00
Manage configured hosting capabilities from the panel
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
389bc07541
parkel merged commit b123802275 into main 2026-11-23 21:49:45 +01:00
parkel deleted branch feature/panel-configuration-and-roles 2026-11-23 21:49:45 +01:00
Sign in to join this conversation.