Add read-only customer impersonation for administrators #18

Merged
parkel merged 2 commits from feature/customer-impersonation into main 2026-11-21 02:26:00 +01:00
Owner

Changes

  • Let authorized administrators open a read-only customer view for up to 30 minutes. The view is limited to the customer's assigned hosting accounts.
  • Identify the customer in a persistent banner and provide an action to end the session. Recheck permissions and account status on every request.
  • Record the administrator, customer, timestamps, and outcome. Make the audit history read-only in Django admin and protect it with a separate permission.

Deployment

Apply migration 0017 to create the audit table and register the new permissions.

Verification

  • All 182 tests passed. Ruff and migration checks passed.
  • Verified starting and ending a session, blocking writes, and reviewing the audit history over HTTPS with MariaDB.
## Changes - Let authorized administrators open a read-only customer view for up to 30 minutes. The view is limited to the customer's assigned hosting accounts. - Identify the customer in a persistent banner and provide an action to end the session. Recheck permissions and account status on every request. - Record the administrator, customer, timestamps, and outcome. Make the audit history read-only in Django admin and protect it with a separate permission. ## Deployment Apply migration 0017 to create the audit table and register the new permissions. ## Verification - All 182 tests passed. Ruff and migration checks passed. - Verified starting and ending a session, blocking writes, and reviewing the audit history over HTTPS with MariaDB.
parkel added 2 commits 2026-11-21 02:25:51 +01:00
Expose customer impersonation audit history in Django admin
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
a91c403966
parkel merged commit 4adc6ab5c4 into main 2026-11-21 02:26:00 +01:00
parkel deleted branch feature/customer-impersonation 2026-11-21 02:26:01 +01:00
Sign in to join this conversation.