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",
|
"widgettype": "ResponsableBox",
|
||||||
"options": {
|
"options": {
|
||||||
@ -556,7 +556,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% 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",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"options": {
|
||||||
@ -634,7 +634,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if 'owner.*' in roles %}
|
{% if 'owner.*' in roles or 'reseller.*' in roles %}
|
||||||
,{
|
,{
|
||||||
"widgettype": "VBox",
|
"widgettype": "VBox",
|
||||||
"options": {
|
"options": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user