2019-10-07 07:03:41 +02:00
|
|
|
{
|
|
|
|
"levels": [
|
|
|
|
{
|
|
|
|
"name": "owner",
|
|
|
|
"permissions": [
|
|
|
|
{
|
|
|
|
"type": "create record",
|
|
|
|
"nodeKey": "/customers/1-{id}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "delete record",
|
|
|
|
"nodeKey": "/customers/1-{id}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "update record",
|
|
|
|
"nodeKey": "/customers/1-{id}"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "read record",
|
|
|
|
"nodeKey": "/customers/1-{id}"
|
|
|
|
},
|
|
|
|
{
|
2019-10-14 09:32:20 +02:00
|
|
|
"type": "read index",
|
|
|
|
"nodeKey": "/all_customers"
|
2019-10-07 07:03:41 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "write templates"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "create user"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "set password"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "create temporary access"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "enable or disable user"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "write access levels"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list users"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "list access levels"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "manage index"
|
|
|
|
},
|
|
|
|
{
|
2019-10-14 09:32:20 +02:00
|
|
|
"type": "manage collection"
|
2019-10-07 07:03:41 +02:00
|
|
|
},
|
|
|
|
{
|
2019-10-14 09:32:20 +02:00
|
|
|
"type": "set user access levels"
|
2019-10-07 07:03:41 +02:00
|
|
|
}
|
2019-10-14 09:32:20 +02:00
|
|
|
],
|
|
|
|
"default": false
|
2019-10-07 07:03:41 +02:00
|
|
|
}
|
2019-10-14 09:32:20 +02:00
|
|
|
],
|
|
|
|
"version": 1
|
2019-10-07 07:03:41 +02:00
|
|
|
}
|