2020-03-19 17:53:06 +00:00
|
|
|
[
|
2020-03-20 13:43:35 +00:00
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 1,
|
|
|
|
"fields": {
|
|
|
|
"name": "Adh\u00e9rent BDE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 2,
|
|
|
|
"fields": {
|
|
|
|
"name": "Adh\u00e9rent Kfet"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 3,
|
|
|
|
"fields": {
|
|
|
|
"name": "Pr\u00e9sident\u00b7e BDE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 4,
|
|
|
|
"fields": {
|
|
|
|
"name": "Tr\u00e9sorier\u00b7\u00e8re BDE"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 5,
|
|
|
|
"fields": {
|
|
|
|
"name": "Respo info"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 6,
|
|
|
|
"fields": {
|
|
|
|
"name": "GC Kfet"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 7,
|
|
|
|
"fields": {
|
|
|
|
"name": "Pr\u00e9sident\u00b7e de club"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 8,
|
|
|
|
"fields": {
|
|
|
|
"name": "Tr\u00e9sorier\u00b7\u00e8re de club"
|
|
|
|
}
|
|
|
|
},
|
2020-03-28 18:05:21 +00:00
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 8,
|
|
|
|
"fields": {
|
|
|
|
"name": "Tr\u00e9sorier\u00b7\u00e8re de club"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "member.role",
|
|
|
|
"pk": 9,
|
|
|
|
"fields": {
|
|
|
|
"name": "Res[pot]"
|
|
|
|
}
|
|
|
|
},
|
2020-03-19 17:53:06 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permissionmask",
|
|
|
|
"pk": 1,
|
|
|
|
"fields": {
|
|
|
|
"rank": 0,
|
|
|
|
"description": "Droits basiques"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permissionmask",
|
|
|
|
"pk": 2,
|
|
|
|
"fields": {
|
|
|
|
"rank": 1,
|
|
|
|
"description": "Droits note seulement"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permissionmask",
|
|
|
|
"pk": 3,
|
|
|
|
"fields": {
|
|
|
|
"rank": 42,
|
|
|
|
"description": "Tous mes droits"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 1,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our User object"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 2,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"profile"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"user\": [\"user\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our profile"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 3,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"noteuser"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our own note"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 4,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"authtoken",
|
|
|
|
"token"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"user\": [\"user\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our API token"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 5,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "[\"OR\", {\"source\": [\"user\", \"note\"]}, {\"destination\": [\"user\", \"note\"]}]",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our own transactions"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 6,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"alias"
|
|
|
|
],
|
2020-03-31 12:57:44 +00:00
|
|
|
"query": "[\"OR\", {\"note__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__membership__club__name\": \"Kfet\"}], [\"all\"]]}, {\"note__in\": [\"NoteClub\", \"objects\", [\"all\"]]}]",
|
2020-03-19 17:53:06 +00:00
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View aliases of clubs and members of Kfet club"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 7,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "last_login",
|
|
|
|
"description": "Change myself's last login"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 8,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "username",
|
|
|
|
"description": "Change myself's username"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 9,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "first_name",
|
|
|
|
"description": "Change myself's first name"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 10,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "last_name",
|
|
|
|
"description": "Change myself's last name"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 11,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"auth",
|
|
|
|
"user"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "email",
|
|
|
|
"description": "Change myself's email"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 12,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"authtoken",
|
|
|
|
"token"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"user\": [\"user\"]}",
|
|
|
|
"type": "delete",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Delete API Token"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 13,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"authtoken",
|
|
|
|
"token"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"user\": [\"user\"]}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Create API Token"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 14,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"alias"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"note\": [\"user\", \"note\"]}",
|
|
|
|
"type": "delete",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Remove alias"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 15,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"alias"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"note\": [\"user\", \"note\"]}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add alias"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 16,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"noteuser"
|
|
|
|
],
|
2020-03-19 17:53:06 +00:00
|
|
|
"query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "display_image",
|
|
|
|
"description": "Change myself's display image"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 17,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-25 14:27:38 +00:00
|
|
|
"query": "[\"AND\", {\"source\": [\"user\", \"note\"]}, [\"OR\", {\"amount__lte\": [\"user\", \"note\", \"balance\"]}, {\"valid\": false}]]",
|
2020-03-19 17:53:06 +00:00
|
|
|
"type": "add",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Transfer from myself's note"
|
|
|
|
}
|
|
|
|
},
|
2020-03-19 18:29:52 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 18,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"note"
|
|
|
|
],
|
2020-03-19 18:29:52 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "balance",
|
|
|
|
"description": "Update a note balance with a transaction"
|
|
|
|
}
|
|
|
|
},
|
2020-03-19 23:06:28 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 19,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"note"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "[\"OR\", {\"pk\": [\"club\", \"note\", \"pk\"]}, {\"pk__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__membership__club\": [\"club\"]}], [\"all\"]]}]",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View notes of club members"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 20,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-31 02:16:30 +00:00
|
|
|
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]",
|
2020-03-19 23:06:28 +00:00
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Create transactions with a club"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 21,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"recurrenttransaction"
|
|
|
|
],
|
2020-03-25 14:27:38 +00:00
|
|
|
"query": "[\"AND\", {\"destination\": [\"club\", \"note\"]}, [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]",
|
2020-03-19 23:06:28 +00:00
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Create transactions from buttons with a club"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 22,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"club"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{\"pk\": [\"club\", \"pk\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View club infos"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 23,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "valid",
|
|
|
|
"description": "Update validation status of a transaction"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 24,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View all transactions"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 25,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"notespecial"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Display credit/debit interface"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 26,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"specialtransaction"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Create credit/debit transaction"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 27,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"templatecategory"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View button categories"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 28,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"templatecategory"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 3,
|
|
|
|
"field": "",
|
|
|
|
"description": "Change button category"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 29,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"templatecategory"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 3,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add button category"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 30,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transactiontemplate"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View buttons"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 31,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transactiontemplate"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 3,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add buttons"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 32,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transactiontemplate"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 3,
|
|
|
|
"field": "",
|
|
|
|
"description": "Update buttons"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 33,
|
|
|
|
"fields": {
|
2020-03-22 13:54:05 +00:00
|
|
|
"model": [
|
|
|
|
"note",
|
|
|
|
"transaction"
|
|
|
|
],
|
2020-03-19 23:06:28 +00:00
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Create any transaction"
|
|
|
|
}
|
|
|
|
},
|
2020-03-28 18:05:21 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 34,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "[\"OR\", {\"valid\": true}, {\"creater\": [\"user\"]}]",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View valid activites"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 35,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Change our activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 36,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "{\"creater\": [\"user\"], \"valid\": false}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 37,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "valid",
|
|
|
|
"description": "Validate activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 38,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "open",
|
|
|
|
"description": "Open activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 39,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guest"
|
|
|
|
],
|
|
|
|
"query": "{\"inviter\": [\"user\", \"note\"], \"activity__activity_type__can_invite\": true}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Invite people to activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 40,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guest"
|
|
|
|
],
|
|
|
|
"query": "{\"inviter\": [\"user\", \"note\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View invited people"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 41,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"activity"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View all activities"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 42,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guest"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "View all invited people"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 43,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"entry"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Manage entries"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 44,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guesttransaction"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add invitation transactions"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 45,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guesttransaction"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View invitation transactions"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 46,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"activity",
|
|
|
|
"guesttransaction"
|
|
|
|
],
|
|
|
|
"query": "{}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "valid",
|
|
|
|
"description": "Validate invitation transactions"
|
|
|
|
}
|
|
|
|
},
|
2020-03-31 02:16:30 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 47,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"club"
|
|
|
|
],
|
|
|
|
"query": "{\"pk\": [\"club\", \"pk\"]}",
|
|
|
|
"type": "change",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "Update club"
|
|
|
|
}
|
|
|
|
},
|
2020-04-01 02:07:55 +00:00
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 48,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"membership"
|
|
|
|
],
|
|
|
|
"query": "{\"user\": [\"user\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View our memberships"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 49,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"membership"
|
|
|
|
],
|
|
|
|
"query": "{\"club\": [\"club\"]}",
|
|
|
|
"type": "view",
|
|
|
|
"mask": 1,
|
|
|
|
"field": "",
|
|
|
|
"description": "View club's memberships"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.permission",
|
|
|
|
"pk": 50,
|
|
|
|
"fields": {
|
|
|
|
"model": [
|
|
|
|
"member",
|
|
|
|
"membership"
|
|
|
|
],
|
|
|
|
"query": "{\"club\": [\"club\"]}",
|
|
|
|
"type": "add",
|
|
|
|
"mask": 2,
|
|
|
|
"field": "",
|
|
|
|
"description": "Add a membership to a club"
|
|
|
|
}
|
|
|
|
},
|
2020-03-19 17:53:06 +00:00
|
|
|
{
|
2020-03-20 13:43:35 +00:00
|
|
|
"model": "permission.rolepermissions",
|
2020-03-19 17:53:06 +00:00
|
|
|
"pk": 1,
|
|
|
|
"fields": {
|
|
|
|
"role": 1,
|
|
|
|
"permissions": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9,
|
|
|
|
10,
|
2020-04-01 02:07:55 +00:00
|
|
|
11,
|
|
|
|
48
|
2020-03-19 17:53:06 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-03-20 13:43:35 +00:00
|
|
|
"model": "permission.rolepermissions",
|
2020-03-19 17:53:06 +00:00
|
|
|
"pk": 2,
|
|
|
|
"fields": {
|
|
|
|
"role": 2,
|
|
|
|
"permissions": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
4,
|
|
|
|
5,
|
2020-03-31 12:57:44 +00:00
|
|
|
6,
|
2020-03-19 17:53:06 +00:00
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
16,
|
2020-03-19 18:29:52 +00:00
|
|
|
17,
|
2020-03-28 18:05:21 +00:00
|
|
|
18,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
36,
|
|
|
|
39,
|
2020-03-31 14:22:11 +00:00
|
|
|
40
|
2020-03-19 17:53:06 +00:00
|
|
|
]
|
|
|
|
}
|
2020-03-19 23:06:28 +00:00
|
|
|
},
|
|
|
|
{
|
2020-03-20 13:43:35 +00:00
|
|
|
"model": "permission.rolepermissions",
|
2020-03-19 23:06:28 +00:00
|
|
|
"pk": 3,
|
|
|
|
"fields": {
|
|
|
|
"role": 8,
|
|
|
|
"permissions": [
|
|
|
|
19,
|
2020-03-31 12:57:44 +00:00
|
|
|
20,
|
2020-03-19 23:06:28 +00:00
|
|
|
21,
|
2020-03-31 12:57:44 +00:00
|
|
|
22
|
2020-03-19 23:06:28 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2020-03-20 13:43:35 +00:00
|
|
|
"model": "permission.rolepermissions",
|
2020-03-19 23:06:28 +00:00
|
|
|
"pk": 4,
|
|
|
|
"fields": {
|
|
|
|
"role": 4,
|
|
|
|
"permissions": [
|
|
|
|
23,
|
|
|
|
24,
|
|
|
|
25,
|
|
|
|
26,
|
|
|
|
27,
|
|
|
|
28,
|
|
|
|
29,
|
|
|
|
30,
|
|
|
|
31,
|
|
|
|
32,
|
|
|
|
33
|
|
|
|
]
|
|
|
|
}
|
2020-03-28 18:05:21 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.rolepermissions",
|
|
|
|
"pk": 5,
|
|
|
|
"fields": {
|
|
|
|
"role": 9,
|
|
|
|
"permissions": [
|
|
|
|
37,
|
|
|
|
38,
|
|
|
|
41,
|
|
|
|
42,
|
|
|
|
43,
|
|
|
|
44,
|
|
|
|
45,
|
|
|
|
46
|
|
|
|
]
|
|
|
|
}
|
2020-03-31 02:16:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.rolepermissions",
|
|
|
|
"pk": 6,
|
|
|
|
"fields": {
|
|
|
|
"role": 7,
|
|
|
|
"permissions": [
|
|
|
|
22,
|
2020-03-31 12:57:44 +00:00
|
|
|
47
|
2020-03-31 02:16:30 +00:00
|
|
|
]
|
|
|
|
}
|
2020-04-01 02:07:55 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"model": "permission.rolepermissions",
|
|
|
|
"pk": 7,
|
|
|
|
"fields": {
|
|
|
|
"role": 5,
|
|
|
|
"permissions": [
|
|
|
|
1,
|
|
|
|
2,
|
|
|
|
3,
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
6,
|
|
|
|
7,
|
|
|
|
8,
|
|
|
|
9,
|
|
|
|
10,
|
|
|
|
11,
|
|
|
|
12,
|
|
|
|
13,
|
|
|
|
14,
|
|
|
|
15,
|
|
|
|
16,
|
|
|
|
17,
|
|
|
|
18,
|
|
|
|
19,
|
|
|
|
20,
|
|
|
|
21,
|
|
|
|
22,
|
|
|
|
23,
|
|
|
|
24,
|
|
|
|
25,
|
|
|
|
26,
|
|
|
|
27,
|
|
|
|
28,
|
|
|
|
29,
|
|
|
|
30,
|
|
|
|
31,
|
|
|
|
32,
|
|
|
|
33,
|
|
|
|
34,
|
|
|
|
35,
|
|
|
|
36,
|
|
|
|
37,
|
|
|
|
38,
|
|
|
|
39,
|
|
|
|
40,
|
|
|
|
41,
|
|
|
|
42,
|
|
|
|
43,
|
|
|
|
44,
|
|
|
|
45,
|
|
|
|
46,
|
|
|
|
47,
|
|
|
|
48,
|
|
|
|
49,
|
|
|
|
50
|
|
|
|
]
|
|
|
|
}
|
2020-03-19 17:53:06 +00:00
|
|
|
}
|
2020-03-22 13:54:05 +00:00
|
|
|
]
|