bugfix
This commit is contained in:
parent
fba80e7aba
commit
e0f5e74195
@ -1,17 +1,20 @@
|
|||||||
{
|
{
|
||||||
"models_dir": "${HOME}$/py/rbac/models",
|
|
||||||
"output_dir": "${HOME}$/py/sage/wwwroot/_a/permission",
|
|
||||||
"dbname": "sage",
|
|
||||||
"tblname": "permission",
|
"tblname": "permission",
|
||||||
|
"uitype":"tree",
|
||||||
"title":"权限",
|
"title":"权限",
|
||||||
"params": {
|
"params":{
|
||||||
"browserfields": {
|
"idField":"id",
|
||||||
"exclouded": ["id"],
|
"textField":"name",
|
||||||
"cwidth": {}
|
"editable":true,
|
||||||
},
|
"browserfields":{
|
||||||
"editexclouded": [
|
"alters":{}
|
||||||
"id"
|
},
|
||||||
],
|
"edit_exclouded_fields":[],
|
||||||
"record_toolbar": null
|
"parentField":"parentid",
|
||||||
}
|
"toolbar":{
|
||||||
|
},
|
||||||
|
"binds":[
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"width":"70%"
|
"width":"70%"
|
||||||
},
|
},
|
||||||
"items":[
|
"items":[
|
||||||
{% if 'customer' in get_user_roles(get_user()) %}
|
{% if 'customer.customer' in get_user_roles(get_user()) %}
|
||||||
{
|
{
|
||||||
"name":"recharge",
|
"name":"recharge",
|
||||||
"label":"充值",
|
"label":"充值",
|
||||||
|
Loading…
Reference in New Issue
Block a user