Allow customers to request databases and mailboxes within plan quotas
This commit is contained in:
1 parent
cba291d4a9
commit
1424206903
6 files changed
+114
-40
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user