Allow customers to request databases and mailboxes within plan quotas

This commit is contained in:
parkel committed 2026-11-21 00:43:04 +01:00
1 parent cba291d4a9
commit 1424206903
6 files changed
+114 -40

No files matched your search

+1
View File
@@ -22,6 +22,7 @@ def panel_access(request):
customer = customer_for_user(request.user) is not None
reseller = not customer and reseller_for_user(request.user) is not None
return {
"is_customer": customer,
"is_reseller": reseller,
"is_tenant": customer or reseller,
"is_operator": request.user.is_authenticated and not (customer or reseller),