1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-24 08:22:22 +00:00
nk20/apps/permission/fixtures/initial.json

2547 lines
45 KiB
JSON
Raw Normal View History

[
2020-04-22 11:28:52 +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": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our User object"
}
},
{
"model": "permission.permission",
"pk": 2,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our profile"
}
},
{
"model": "permission.permission",
"pk": 3,
"fields": {
"model": [
"note",
"noteuser"
],
"query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our own note"
}
},
{
"model": "permission.permission",
"pk": 4,
"fields": {
"model": [
"authtoken",
"token"
],
"query": "{\"user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our API token"
}
},
{
"model": "permission.permission",
"pk": 5,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"OR\", {\"source\": [\"user\", \"note\"]}, {\"destination\": [\"user\", \"note\"]}]",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our own transactions"
}
},
{
"model": "permission.permission",
"pk": 6,
"fields": {
"model": [
"note",
"alias"
],
"query": "[\"AND\", [\"OR\", {\"note__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__memberships__club__name\": \"Kfet\"}], [\"all\"]]}, {\"note__in\": [\"NoteClub\", \"objects\", [\"all\"]]}], {\"note__is_active\": true}]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View aliases of clubs and members of Kfet club"
}
},
{
"model": "permission.permission",
"pk": 7,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "last_login",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change myself's last login"
}
},
{
"model": "permission.permission",
"pk": 8,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "username",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "Change myself's username"
}
},
{
"model": "permission.permission",
"pk": 9,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "first_name",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "Change myself's first name"
}
},
{
"model": "permission.permission",
"pk": 10,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "last_name",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "Change myself's last name"
}
},
{
"model": "permission.permission",
"pk": 11,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "email",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "Change myself's email"
}
},
{
"model": "permission.permission",
"pk": 12,
"fields": {
"model": [
"authtoken",
"token"
],
"query": "{\"user\": [\"user\"]}",
"type": "delete",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete API Token"
}
},
{
"model": "permission.permission",
"pk": 13,
"fields": {
"model": [
"authtoken",
"token"
],
"query": "{\"user\": [\"user\"]}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "Create API Token"
}
},
{
"model": "permission.permission",
"pk": 14,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note\": [\"user\", \"note\"]}",
"type": "delete",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Remove alias"
}
},
{
"model": "permission.permission",
"pk": 15,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note\": [\"user\", \"note\"]}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add alias"
}
},
{
"model": "permission.permission",
"pk": 16,
"fields": {
"model": [
"note",
"noteuser"
],
"query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "display_image",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change myself's display image"
}
},
{
"model": "permission.permission",
"pk": 17,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", {\"source\": [\"user\", \"note\"]}, [\"OR\", {\"amount__lte\": [\"user\", \"note\", \"balance\"]}, {\"valid\": false}]]",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Transfer from myself's note"
}
},
{
"model": "permission.permission",
"pk": 18,
"fields": {
"model": [
"note",
"note"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "balance",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update a note balance with a transaction"
}
},
{
"model": "permission.permission",
"pk": 19,
"fields": {
"model": [
"note",
"note"
],
"query": "[\"OR\", {\"pk\": [\"club\", \"note\", \"pk\"]}, {\"pk__in\": [\"NoteUser\", \"objects\", [\"filter\", {\"user__memberships__club\": [\"club\"]}], [\"all\"]]}]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View notes of club members"
}
},
{
"model": "permission.permission",
"pk": 20,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create transactions with a club"
}
},
{
"model": "permission.permission",
"pk": 21,
"fields": {
"model": [
"note",
"recurrenttransaction"
],
"query": "[\"AND\", {\"destination\": [\"club\", \"note\"]}, [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": false}]]",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create transactions from buttons with a club"
}
},
{
"model": "permission.permission",
"pk": 22,
"fields": {
"model": [
"member",
"club"
],
"query": "{\"pk\": [\"club\", \"pk\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View club infos"
}
},
{
"model": "permission.permission",
"pk": 23,
"fields": {
"model": [
"note",
"transaction"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "valid",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update validation status of a transaction"
}
},
{
"model": "permission.permission",
"pk": 24,
"fields": {
"model": [
"note",
"transaction"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View all transactions"
}
},
{
"model": "permission.permission",
"pk": 25,
"fields": {
"model": [
"note",
"notespecial"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Display credit/debit interface"
}
},
{
"model": "permission.permission",
"pk": 26,
"fields": {
"model": [
"note",
"specialtransaction"
],
"query": "{}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create credit/debit transaction"
}
},
{
"model": "permission.permission",
"pk": 27,
"fields": {
"model": [
"note",
"templatecategory"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View button categories"
}
},
{
"model": "permission.permission",
"pk": 28,
"fields": {
"model": [
"note",
"templatecategory"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change button category"
}
},
{
"model": "permission.permission",
"pk": 29,
"fields": {
"model": [
"note",
"templatecategory"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add button category"
}
},
{
"model": "permission.permission",
"pk": 30,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View buttons"
}
},
{
"model": "permission.permission",
"pk": 31,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add buttons"
}
},
{
"model": "permission.permission",
"pk": 32,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update buttons"
}
},
{
"model": "permission.permission",
"pk": 33,
"fields": {
"model": [
"note",
"transaction"
],
"query": "{}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create any transaction"
}
},
{
"model": "permission.permission",
"pk": 34,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"OR\", {\"valid\": true}, {\"creater\": [\"user\"]}]",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View valid activites"
}
},
{
"model": "permission.permission",
"pk": 35,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change our activities"
}
},
{
"model": "permission.permission",
"pk": 36,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{\"creater\": [\"user\"], \"valid\": false}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add activities"
}
},
{
"model": "permission.permission",
"pk": 37,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{}",
"type": "change",
"mask": 2,
"field": "valid",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Validate activities"
}
},
{
"model": "permission.permission",
"pk": 38,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{}",
"type": "change",
"mask": 2,
"field": "open",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"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": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Invite people to activities"
}
},
{
"model": "permission.permission",
"pk": 40,
"fields": {
"model": [
"activity",
"guest"
],
"query": "{\"inviter\": [\"user\", \"note\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View invited people"
}
},
{
"model": "permission.permission",
"pk": 41,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View all activities"
}
},
{
"model": "permission.permission",
"pk": 42,
"fields": {
"model": [
"activity",
"guest"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View all invited people"
}
},
{
"model": "permission.permission",
"pk": 43,
"fields": {
"model": [
"activity",
"entry"
],
"query": "{}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Manage entries"
}
},
{
"model": "permission.permission",
"pk": 44,
"fields": {
"model": [
"activity",
"guesttransaction"
],
"query": "{}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add invitation transactions"
}
},
{
"model": "permission.permission",
"pk": 45,
"fields": {
"model": [
"activity",
"guesttransaction"
],
"query": "{}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View invitation transactions"
}
},
{
"model": "permission.permission",
"pk": 46,
"fields": {
"model": [
"activity",
"guesttransaction"
],
"query": "{}",
"type": "change",
"mask": 2,
"field": "valid",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Validate invitation transactions"
}
},
{
"model": "permission.permission",
"pk": 47,
"fields": {
"model": [
"member",
"club"
],
"query": "{\"pk\": [\"club\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update club"
}
},
{
"model": "permission.permission",
"pk": 48,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View our memberships"
}
},
{
"model": "permission.permission",
"pk": 49,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"club\": [\"club\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View club's memberships"
}
},
{
"model": "permission.permission",
"pk": 50,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"club\": [\"club\"]}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add a membership to a club"
}
},
{
"model": "permission.permission",
"pk": 51,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"club\": [\"club\"]}",
"type": "change",
"mask": 2,
"field": "roles",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update user roles"
}
},
{
"model": "permission.permission",
"pk": 52,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"user\": [\"user\"]}",
"type": "change",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change own profile"
}
},
{
"model": "permission.permission",
"pk": 53,
"fields": {
"model": [
"member",
"profile"
],
"query": "{}",
"type": "change",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change any profile"
}
},
{
"model": "permission.permission",
"pk": 54,
"fields": {
"model": [
"auth",
"user"
],
"query": "{}",
"type": "change",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change any user"
}
},
{
"model": "permission.permission",
"pk": 55,
"fields": {
"model": [
"auth",
"user"
],
"query": "{}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add user"
}
},
{
"model": "permission.permission",
"pk": 56,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"email_confirmed\": false, \"registration_valid\": false}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add profile"
}
},
{
"model": "permission.permission",
"pk": 57,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"profile__registration_valid\": false}",
"type": "delete",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete pre-registered user"
}
},
{
"model": "permission.permission",
"pk": 58,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"registration_valid\": false}",
"type": "delete",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete pre-registered user profile"
}
},
{
"model": "permission.permission",
"pk": 59,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{\"destination\": [\"club\", \"note\"]}",
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "New club button"
}
},
{
"model": "permission.permission",
"pk": 60,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{\"destination\": [\"club\", \"note\"]}",
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create club button"
}
},
{
"model": "permission.permission",
"pk": 61,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{\"destination\": [\"club\", \"note\"]}",
"type": "change",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update club button"
}
},
{
"model": "permission.permission",
"pk": 62,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}]",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View transactions of a club"
}
},
{
"model": "permission.permission",
"pk": 63,
"fields": {
"model": [
"treasury",
"invoice"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View invoices"
}
},
{
"model": "permission.permission",
"pk": 64,
"fields": {
"model": [
"treasury",
"invoice"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add invoice"
}
},
{
"model": "permission.permission",
"pk": 65,
"fields": {
"model": [
"treasury",
"invoice"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change invoice"
}
},
{
"model": "permission.permission",
"pk": 66,
"fields": {
"model": [
"treasury",
"product"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View products"
}
},
{
"model": "permission.permission",
"pk": 67,
"fields": {
"model": [
"treasury",
"product"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add products"
}
},
{
"model": "permission.permission",
"pk": 68,
"fields": {
"model": [
"treasury",
"product"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change product"
}
},
{
"model": "permission.permission",
"pk": 69,
"fields": {
"model": [
"treasury",
"product"
],
"query": "{}",
"type": "delete",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete product"
}
},
{
"model": "permission.permission",
"pk": 70,
"fields": {
"model": [
"treasury",
"sogecredit"
],
"query": "{\"credit_transaction\": null}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit"
}
},
{
"model": "permission.permission",
"pk": 71,
"fields": {
"model": [
"treasury",
"sogecredit"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View all Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credits"
}
},
{
"model": "permission.permission",
"pk": 72,
"fields": {
"model": [
"treasury",
"sogecredit"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit"
}
},
{
"model": "permission.permission",
"pk": 73,
"fields": {
"model": [
"treasury",
"sogecredit"
],
"query": "{}",
"type": "delete",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete Soci\u00e9t\u00e9 g\u00e9n\u00e9rale credit"
}
},
{
"model": "permission.permission",
"pk": 74,
"fields": {
"model": [
"wei",
"weiclub"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create a WEI"
}
},
{
"model": "permission.permission",
"pk": 75,
"fields": {
"model": [
"wei",
"weiclub"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update all WEI"
}
},
{
"model": "permission.permission",
"pk": 76,
"fields": {
"model": [
"wei",
"weiclub"
],
"query": "{\"pk\": [\"club\", \"pk\"]}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update this WEI"
}
},
{
"model": "permission.permission",
"pk": 77,
"fields": {
"model": [
"wei",
"weiclub"
],
2020-04-24 12:03:25 +00:00
"query": "{\"pk\": [\"club\", \"pk\"]}",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-24 12:03:25 +00:00
"description": "View my WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 78,
"fields": {
"model": [
"wei",
"weiclub"
],
"query": "{\"membership_start__lte\": [\"today\"], \"year\": [\"today\", \"year\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View last WEI"
}
},
{
"model": "permission.permission",
"pk": 79,
"fields": {
"model": [
"wei",
"weirole"
],
"query": "{}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View WEI Roles"
}
},
{
"model": "permission.permission",
"pk": 80,
"fields": {
"model": [
"wei",
"weirole"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add WEI Role"
}
},
{
"model": "permission.permission",
"pk": 81,
"fields": {
"model": [
"wei",
"weirole"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Change WEI Role"
}
},
{
"model": "permission.permission",
"pk": 82,
"fields": {
"model": [
"wei",
"weirole"
],
"query": "{}",
"type": "delete",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete WEI Role"
}
},
{
"model": "permission.permission",
"pk": 83,
"fields": {
"model": [
"wei",
"weiregistration"
],
2020-04-24 12:03:25 +00:00
"query": "{\"user\": [\"user\"], \"wei__year\": [\"today\", \"year\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Register myself to the last WEI"
}
},
{
"model": "permission.permission",
"pk": 84,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"first_year\": true, \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Register first year members to the last WEI"
}
},
{
"model": "permission.permission",
"pk": 85,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Register anyone to this WEI"
}
},
{
"model": "permission.permission",
"pk": 86,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"]}",
"type": "delete",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Delete WEI registration"
}
},
{
"model": "permission.permission",
"pk": 87,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "View my own WEI registration"
}
},
{
"model": "permission.permission",
"pk": 88,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View all WEI Registrations"
}
},
{
"model": "permission.permission",
"pk": 89,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "soge_credit",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the soge credit field of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 90,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "soge_credit",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the soge credit field of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 91,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "caution_check",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the caution check field of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 92,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "birth_date",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the birth date of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 93,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "birth_date",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the birth date of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 94,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "gender",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the gender of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 95,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "gender",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the gender of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 96,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "health_issues",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the health issues of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 97,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "health_issues",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the health issues of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 98,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "emergency_contact_name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the emergency contact name of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 99,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "emergency_contact_name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the emergency contact name of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 100,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "emergency_contact_phone",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the emergency contact phone of any WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 101,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "emergency_contact_phone",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the emergency contact phone of my own WEI Registration"
}
},
{
"model": "permission.permission",
"pk": 102,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "information_json",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update information of any WEI registration"
}
},
{
"model": "permission.permission",
"pk": 103,
"fields": {
"model": [
"wei",
"bus"
],
"query": "{\"wei\": [\"club\"]}",
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Add a bus for the current WEI"
}
},
{
"model": "permission.permission",
"pk": 104,
"fields": {
"model": [
"wei",
"bus"
],
2020-04-24 12:03:25 +00:00
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 3,
"field": "name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the name of a bus for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 105,
"fields": {
"model": [
"wei",
"bus"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 3,
"field": "description",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the description of a bus for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 106,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create a bus team for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 107,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update a bus team for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 108,
"fields": {
"model": [
"wei",
"bus"
],
2020-04-24 12:03:25 +00:00
"query": "[\"AND\", {\"wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"registration\", \"first_year\"]], {\"wei__date_end__lte\": [\"today\"]}]]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View buses of the last WEI"
}
},
{
"model": "permission.permission",
"pk": 109,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "[\"AND\", {\"bus__wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"registration\", \"first_year\"]], {\"bus__wei__date_end__lte\": [\"today\"]}]]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View bus teams of the last WEI"
}
},
{
"model": "permission.permission",
"pk": 110,
"fields": {
"model": [
"wei",
"weimembership"
],
"query": "[\"AND\", {\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}, [\"OR\", {\"registration__soge_credit\": true}, {\"user__note__balance__gte\": {\"F\": [\"F\", \"fee\"]}}]]",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 3,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Create a WEI membership for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 111,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "bus",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the bus of a WEI membership"
}
},
{
"model": "permission.permission",
"pk": 112,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 1,
"field": "team",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-22 11:28:52 +00:00
"description": "Update the team of a WEI membership"
}
},
{
"model": "permission.permission",
"pk": 113,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "{\"club\": [\"club\"]}",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View all WEI Memberships for the last WEI"
}
},
{
"model": "permission.permission",
"pk": 114,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "[\"AND\", {\"user\": [\"user\"], \"club\": [\"club\"]}, [\"OR\", {\"registration__first_year\": false, \"club__weiclub__date_end__lte\": [\"today\"]}]]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-22 11:28:52 +00:00
"description": "View my own WEI membership if I am an old member or if the WEI is past"
}
},
2020-04-23 16:28:16 +00:00
{
"model": "permission.permission",
"pk": 115,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "{\"club\": [\"club\"], \"bus\": [\"membership\", \"weimembership\", \"bus\"]}",
2020-04-23 16:28:16 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-23 16:28:16 +00:00
"description": "View the members of the bus"
}
},
{
"model": "permission.permission",
"pk": 116,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-04-24 12:03:25 +00:00
"query": "{\"club\": [\"club\"], \"team\": [\"membership\", \"weimembership\", \"team\"]}",
2020-04-23 16:28:16 +00:00
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
2020-04-23 16:28:16 +00:00
"description": "View the members of the team"
}
},
2020-04-24 12:03:25 +00:00
{
"model": "permission.permission",
"pk": 117,
"fields": {
"model": [
"wei",
"bus"
],
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the name of my bus"
}
},
{
"model": "permission.permission",
"pk": 118,
"fields": {
"model": [
"wei",
"bus"
],
"query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "description",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the description of my bus"
}
},
{
"model": "permission.permission",
"pk": 119,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Add a team to my bus"
}
},
{
"model": "permission.permission",
"pk": 120,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the name of a team of my bus"
}
},
{
"model": "permission.permission",
"pk": 121,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "color",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the color of a team of my bus"
}
},
{
"model": "permission.permission",
"pk": 122,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "description",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the description of a team of my bus"
}
},
{
"model": "permission.permission",
"pk": 123,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "name",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the name of my team"
}
},
{
"model": "permission.permission",
"pk": 124,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "color",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the color of my team"
}
},
{
"model": "permission.permission",
"pk": 125,
"fields": {
"model": [
"wei",
"busteam"
],
"query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
2020-04-24 12:03:25 +00:00
"type": "change",
"mask": 1,
"field": "description",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-04-24 12:03:25 +00:00
"description": "Update the description of my team"
}
},
2020-05-07 19:14:36 +00:00
{
"model": "permission.permission",
"pk": 126,
"fields": {
"model": [
"activity",
"activity"
],
2020-05-29 19:26:05 +00:00
"query": "{\"entries__note__user\": [\"user\"]}",
2020-05-07 19:14:36 +00:00
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"description": "View my past activities"
}
},
{
"model": "permission.permission",
"pk": 127,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"amount__lte\": {\"F\": [\"ADD\", [\"F\", \"source__balance\"], 5000]}}, {\"valid\": true}]]",
"type": "change",
"mask": 1,
"field": "valid",
"permanent": false,
"description": "Update validation status of a club transaction if possible"
}
},
2020-04-22 11:28:52 +00:00
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 1,
"fields": {
"for_club": 1,
2020-07-25 17:40:30 +00:00
"name": "Adh\u00e9rent BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
1,
2,
3,
4,
5,
7,
8,
9,
10,
11,
12,
13,
48,
2020-05-07 19:14:36 +00:00
52,
126
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 2,
"fields": {
"for_club": 2,
2020-07-25 17:40:30 +00:00
"name": "Adh\u00e9rent Kfet",
2020-04-22 11:28:52 +00:00
"permissions": [
34,
35,
36,
6,
39,
40,
2020-05-07 19:14:36 +00:00
70,
108,
109,
2020-04-22 11:28:52 +00:00
14,
15,
16,
17,
18,
78,
79,
2020-04-24 12:03:25 +00:00
83
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
"pk": 3,
"fields": {
"for_club": null,
"name": "Membre de club",
"permissions": []
2020-07-25 17:40:30 +00:00
}
},
{
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 4,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Bureau de club",
2020-04-22 11:28:52 +00:00
"permissions": [
22,
47,
49
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 5,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Pr\u00e9sident\u00b7e de club",
2020-04-22 11:28:52 +00:00
"permissions": [
50,
51,
62
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 6,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Tr\u00e9sorier\u00b7\u00e8re de club",
2020-04-22 11:28:52 +00:00
"permissions": [
2020-05-07 19:14:36 +00:00
59,
2020-04-22 11:28:52 +00:00
19,
20,
21,
27,
60,
61,
62,
127
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 7,
"fields": {
"for_club": 1,
2020-07-25 17:40:30 +00:00
"name": "Pr\u00e9sident\u00b7e BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
24,
25,
26,
27,
33
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 8,
"fields": {
"for_club": 1,
2020-07-25 17:40:30 +00:00
"name": "Tr\u00e9sorier\u00b7\u00e8re BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
53,
54,
55,
56,
57,
58,
63,
64,
65,
66,
67,
68,
69,
2020-05-07 19:14:36 +00:00
71,
2020-04-22 11:28:52 +00:00
72,
2020-05-07 19:14:36 +00:00
73
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 9,
"fields": {
"for_club": 1,
2020-07-25 17:40:30 +00:00
"name": "Respo info",
2020-04-22 11:28:52 +00:00
"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,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65,
66,
67,
68,
69,
70,
71,
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95,
96,
97,
98,
99,
100,
101,
102,
103,
104,
105,
106,
107,
108,
109,
110,
111,
112,
113,
2020-04-24 12:03:25 +00:00
114,
115,
116,
117,
118,
119,
120,
121,
122,
123,
124,
2020-05-07 19:14:36 +00:00
125,
126
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 10,
"fields": {
"for_club": 2,
2020-07-25 17:40:30 +00:00
"name": "GC Kfet",
2020-04-22 11:28:52 +00:00
"permissions": [
2020-05-07 19:14:36 +00:00
32,
33,
56,
58,
55,
57,
52,
53,
54,
2020-04-22 11:28:52 +00:00
23,
24,
25,
26,
27,
28,
29,
30,
2020-05-07 19:14:36 +00:00
31
2020-04-22 11:28:52 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 11,
"fields": {
"for_club": 2,
2020-07-25 17:40:30 +00:00
"name": "Res[pot]",
2020-04-22 11:28:52 +00:00
"permissions": [
37,
38,
41,
42,
43,
44,
45,
46
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-22 11:28:52 +00:00
"pk": 12,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "GC WEI",
2020-04-22 11:28:52 +00:00
"permissions": [
76,
80,
81,
82,
85,
86,
88,
89,
91,
92,
94,
96,
98,
100,
102,
103,
104,
105,
106,
107,
110,
111,
112,
113
]
}
2020-04-23 16:28:16 +00:00
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-23 16:28:16 +00:00
"pk": 13,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Chef de bus",
2020-04-23 16:28:16 +00:00
"permissions": [
2020-04-24 12:03:25 +00:00
117,
118,
120,
121,
2020-05-07 19:14:36 +00:00
122,
115
2020-04-23 16:28:16 +00:00
]
}
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
2020-04-23 16:28:16 +00:00
"pk": 14,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Chef d'\u00e9quipe",
2020-04-23 16:28:16 +00:00
"permissions": [
2020-05-07 19:14:36 +00:00
116,
123,
124,
125
2020-04-23 16:28:16 +00:00
]
}
2020-04-24 12:03:25 +00:00
},
{
2020-07-25 17:40:30 +00:00
"model": "permission.role",
"pk": 15,
"fields": {
"for_club": null,
"name": "\u00c9lectron libre",
"permissions": []
2020-07-25 17:40:30 +00:00
}
},
{
"model": "permission.role",
2020-04-24 12:03:25 +00:00
"pk": 16,
"fields": {
"for_club": null,
"name": "\u00c9lectron libre (avec perm)",
"permissions": []
2020-07-25 17:40:30 +00:00
}
},
{
"model": "permission.role",
"pk": 17,
"fields": {
"for_club": null,
"name": "1A",
"permissions": []
2020-07-25 17:40:30 +00:00
}
},
{
"model": "permission.role",
"pk": 18,
"fields": {
"for_club": null,
2020-07-25 17:40:30 +00:00
"name": "Adhérent WEI",
2020-04-24 12:03:25 +00:00
"permissions": [
97,
99,
101,
108,
2020-05-07 19:14:36 +00:00
77,
2020-04-24 12:03:25 +00:00
109,
2020-05-07 19:14:36 +00:00
114,
84,
87,
90,
93,
95
2020-04-24 12:03:25 +00:00
]
}
2020-07-25 17:40:30 +00:00
},
{
"model": "wei.weirole",
"pk": 12,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 13,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 14,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 15,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 16,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 17,
"fields": {}
},
{
"model": "wei.weirole",
"pk": 18,
"fields": {}
2020-04-22 11:28:52 +00:00
}
2020-05-07 19:14:36 +00:00
]