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

This commit is contained in:
parkel committed 2026-11-21 02:25:29 +01:00
1 parent bfe199aaff
commit a91c403966
4 files changed
+137 -3

No files matched your search

+20
View File
@@ -79,6 +79,26 @@ and select a customer on hosting accounts they can create or edit. **Can add
customer** enables customer creation. **Can change customer** enables
sign-in suspension and restoration.
## View the panel as a customer
In **Customers**, select **View as customer** next to an active customer.
The panel shows the customer's assigned hosting accounts and resource pages.
Request forms are visible with their inputs disabled. The banner identifies
the customer and offers **End customer view**. Ending the view returns you
to your administrator account. Signing out ends the view and signs you out
of the panel.
A support session lasts up to 30 minutes and applies to the current browser
session. The panel checks that both users remain eligible on each request.
For example, suspending the customer or removing the administrator's
permission ends the view on the next request.
A staff user needs both **Can view customer** and **Can view the panel as a
customer**. The second permission is listed under **Customer impersonation
sessions**. In `/admin/`, users with **Can view customer impersonation
session** can review the administrator, customer, timestamps, and outcome
for each session. The audit records are read-only in Django admin.
## Request a MariaDB database
Open a hosting account and select **Request database**. Choose a short suffix