add reseller.* role support alongside owner.*
This commit is contained in:
parent
69264b6ec6
commit
66f588cd80
@ -61,7 +61,7 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
{% if 'owner.*' in roles %}
|
||||
{% if 'owner.*' in roles or 'reseller.*' in roles %}
|
||||
,{
|
||||
"widgettype": "ResponsableBox",
|
||||
"options": {
|
||||
@ -556,7 +556,7 @@
|
||||
]
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'owner.*' not in roles and 'customer.*' in roles %}
|
||||
{% if 'owner.*' not in roles and 'reseller.*' not in roles and 'customer.*' in roles %}
|
||||
,{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
@ -634,7 +634,7 @@
|
||||
]
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'owner.*' in roles %}
|
||||
{% if 'owner.*' in roles or 'reseller.*' in roles %}
|
||||
,{
|
||||
"widgettype": "VBox",
|
||||
"options": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user