Change permission check from int to string

This commit is contained in:
Dennis Eichhorn 2018-03-09 22:26:22 +01:00
parent 86634b9af3
commit 12a3c72d82

View File

@ -10,7 +10,7 @@
"icon": "fa fa-book", "icon": "fa fa-book",
"order": 50, "order": 50,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 0, "parent": 0,
"children": [ "children": [
{ {
@ -24,7 +24,7 @@
"icon": null, "icon": null,
"order": 5, "order": 5,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002601001, "parent": 1002601001,
"children": [ "children": [
{ {
@ -38,7 +38,7 @@
"icon": null, "icon": null,
"order": 1, "order": 1,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002602001, "parent": 1002602001,
"children": [] "children": []
}, },
@ -53,7 +53,7 @@
"icon": null, "icon": null,
"order": 5, "order": 5,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002602001, "parent": 1002602001,
"children": [] "children": []
} }
@ -70,7 +70,7 @@
"icon": null, "icon": null,
"order": 10, "order": 10,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002601001, "parent": 1002601001,
"children": [ "children": [
{ {
@ -84,7 +84,7 @@
"icon": null, "icon": null,
"order": 5, "order": 5,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002605001, "parent": 1002605001,
"children": [] "children": []
}, },
@ -99,7 +99,7 @@
"icon": null, "icon": null,
"order": 10, "order": 10,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002605001, "parent": 1002605001,
"children": [] "children": []
}, },
@ -114,7 +114,7 @@
"icon": null, "icon": null,
"order": 10, "order": 10,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002605001, "parent": 1002605001,
"children": [] "children": []
}, },
@ -129,7 +129,7 @@
"icon": null, "icon": null,
"order": 15, "order": 15,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002605001, "parent": 1002605001,
"children": [] "children": []
} }
@ -146,7 +146,7 @@
"icon": null, "icon": null,
"order": 1, "order": 1,
"from": "Accounting", "from": "Accounting",
"permission": null, "permission": { "type": null, "element": null },
"parent": 1002601001, "parent": 1002601001,
"children": [ "children": [