fix: remove Jinja2 condition from accounting menu items (Jinja2 not effective at menu render time)
This commit is contained in:
parent
ed17dc0c86
commit
5cb9cef2a9
@ -87,7 +87,6 @@
|
||||
"target": "app.sage_main_content"
|
||||
}
|
||||
{% endif %}
|
||||
{% if 'reseller.accountant' in roles or 'owner.superuser' in roles %}
|
||||
,{
|
||||
"name": "accounting",
|
||||
"label": "计费管理",
|
||||
@ -102,7 +101,6 @@
|
||||
"url": "{{entire_url('/accounting/credit_limit/index.ui')}}",
|
||||
"target": "app.sage_main_content"
|
||||
}
|
||||
{% endif %}
|
||||
{% if get_user() %}
|
||||
,{
|
||||
"name": "rbac",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user