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

3806 lines
70 KiB
JSON
Raw Permalink 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,
"description": "Voir son compte utilisateur⋅rice"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir son profil"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 3,
"fields": {
"model": [
"note",
2020-08-05 10:22:35 +00:00
"note"
2020-04-22 11:28:52 +00:00
],
"query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
"type": "view",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": true,
"description": "Voir sa propre note d'utilisateur⋅rice"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir son jeton d'authentification à l'API"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir ses propres transactions"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 6,
"fields": {
"model": [
"note",
"alias"
],
"query": "[\"AND\", [\"OR\", {\"note__noteuser__user__memberships__club__name\": \"BDE\", \"note__noteuser__user__memberships__date_start__lte\": [\"today\"], \"note__noteuser__user__memberships__date_end__gte\": [\"today\"]}, {\"note__noteclub__isnull\": false}], {\"note__is_active\": true}]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 1,
"field": "",
"permanent": false,
"description": "Voir les alias des notes des clubs et des adhérent⋅es du club BDE"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 7,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"pk\": [\"user\", \"pk\"]}",
"type": "change",
"mask": 1,
"field": "last_login",
2020-07-29 16:37:42 +00:00
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier sa propre date de dernière connexion"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer son propre pseudo"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer son propre prénom"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer son propre nom de famille"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer sa propre adresse e-mail"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 12,
"fields": {
"model": [
"authtoken",
"token"
],
"query": "{\"user\": [\"user\"]}",
"type": "delete",
"mask": 1,
"field": "",
2020-07-29 16:37:42 +00:00
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Supprimer son jeton d'authentification à l'API"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer un jeton d'authentification à l'API"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Supprimer un alias à sa note"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter un alias à sa note"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer l'image de sa note"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 17,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", {\"source\": [\"user\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]]}}, {\"valid\": false}]]",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Transférer de l'argent depuis sa propre note en restant positif"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 19,
"fields": {
"model": [
"note",
"note"
],
2020-07-30 13:07:30 +00:00
"query": "[\"OR\", {\"pk\": [\"club\", \"note\", \"pk\"]}, {\"noteuser__user__memberships__club\": [\"club\"], \"noteuser__user__memberships__date_start__lte\": [\"today\"], \"noteuser__user__memberships__date_end__gte\": [\"today\"]}]",
2020-04-22 11:28:52 +00:00
"type": "view",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir les notes des membres du club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 20,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}}, {\"valid\": false}]]",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer une transaction de ou vers la note d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 21,
"fields": {
"model": [
"note",
"recurrenttransaction"
],
"query": "[\"AND\", {\"destination\": [\"club\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}}, {\"valid\": false}]]",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer une transaction en appuyant sur un bouton lié à un club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 22,
"fields": {
"model": [
"member",
"club"
],
"query": "{\"pk\": [\"club\", \"pk\"]}",
"type": "view",
2020-08-02 07:30:18 +00:00
"mask": 1,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir les informations d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Mettre à jour le statut de validation d'une transaction"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les transactions"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Afficher l'interface crédit/retrait"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer un crédit ou un retrait quelconque"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les catégories de boutons"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Changer une catégorie de boutons"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer une catégorie de boutons"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir tous les boutons"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter un bouton"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier un bouton"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer n'importe quelle transaction"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les activités valides"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Proposer des activités"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Valider des activités"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ouvrir des activités"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Inviter des personnes à des activités"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 40,
"fields": {
"model": [
"activity",
"guest"
],
"query": "{\"inviter\": [\"user\", \"note\"]}",
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Voir les personnes qu'on a invitées"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les activités"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les personnes invitées"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 43,
"fields": {
"model": [
"activity",
"entry"
],
2020-07-31 20:29:23 +00:00
"query": "{\"activity__open\": true}",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 2,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Gérer les entrées d'une activité ouverte"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer une transaction d'invitation"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les transactions d'invitation"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Valider les transactions d'invitation"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier un club"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir mes adhésions"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 49,
"fields": {
"model": [
"member",
"membership"
],
"query": "{\"club\": [\"club\"]}",
"type": "view",
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
"description": "Voir les adhérent⋅es du club"
2020-04-22 11:28:52 +00:00
}
},
{
"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,
"description": "Ajouter un⋅e membre à un club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 51,
"fields": {
"model": [
"member",
"membership"
],
"query": "{}",
2020-04-22 11:28:52 +00:00
"type": "change",
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "roles",
2020-05-07 19:14:36 +00:00
"permanent": false,
"description": "Modifier les rôles d'une adhésion"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 52,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"user\": [\"user\"]}",
"type": "change",
"mask": 1,
"field": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier son profil"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 53,
"fields": {
"model": [
"member",
"profile"
],
"query": "{}",
"type": "change",
2020-07-31 20:29:23 +00:00
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier n'importe quel profil"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 54,
"fields": {
"model": [
"auth",
"user"
],
"query": "{}",
"type": "change",
2020-07-31 20:29:23 +00:00
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
"description": "Modifier n'importe quel⋅le utilisateur⋅rice"
2020-04-22 11:28:52 +00:00
}
},
{
"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,
"description": "Ajouter un⋅e utilisateur⋅rice"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter un profil"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 57,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"profile__registration_valid\": false}",
"type": "delete",
2020-07-31 20:29:23 +00:00
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Supprimer une pré-inscription"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 58,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"registration_valid\": false}",
"type": "delete",
2020-07-31 20:29:23 +00:00
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Supprimer le profil d'une pré-inscription"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir les boutons d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 60,
"fields": {
"model": [
"note",
"transactiontemplate"
],
"query": "{\"destination\": [\"club\", \"note\"]}",
"type": "add",
2020-07-31 20:29:23 +00:00
"mask": 3,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer un bouton d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le bouton d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 62,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}]",
"type": "view",
"mask": 2,
2020-04-22 11:28:52 +00:00
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir les transactions d'un club"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir les factures"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter une facture"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier une facture"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir les produits"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter des produits"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier un produit"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Supprimer un produit"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 70,
"fields": {
"model": [
"treasury",
"sogecredit"
],
"query": "{}",
2020-04-22 11:28:52 +00:00
"type": "add",
"mask": 1,
"field": "",
2020-05-07 19:14:36 +00:00
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Ajouter un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir tous les crédits de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Supprimer un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer un WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier tous les WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier ce WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir mon 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": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Voir le dernier WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir les rôles pour le WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "M'inscrire au dernier WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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,
"description": "Inscrire un⋅e 1A au WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Inscrire n'importe qui au WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Supprimer une inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Voir ma propre inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les inscriptions WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Indiquer si une inscription WEI est payée par la Société générale"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Indiquer si mon inscription WEI est payée par la Société générale tant qu'elle n'est pas validée"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Dire si un chèque de caution est donné pour une inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la date de naissance d'une inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier la date de naissance de ma propre inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le genre de toute inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier le genre de ma propre inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier les problèmes de santé de toutes les inscriptions WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier mes problèmes de santé de mon inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le nom du contact en cas d'urgence de toute inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier le nom du contact en cas d'urgence de mon inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le téléphone du contact en cas d'urgence de toute inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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",
"permanent": true,
"description": "Modifier le téléphone du contact en cas d'urgence de mon inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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,
"description": "Modifier les informations (sondage 1A,…) d'une inscription WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter un bus au WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le nom d'un bus d'un WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la description d'un bus d'un WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Créer une équipe WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier une équipe WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 108,
"fields": {
"model": [
"wei",
"bus"
],
2020-07-28 18:22:10 +00:00
"query": "[\"AND\", {\"wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"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-07-31 20:29:23 +00:00
"description": "Voir tous les bus WEI si on est en 2A+ ou que le WEI est terminé"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 109,
"fields": {
"model": [
"wei",
"busteam"
],
2020-07-28 18:22:10 +00:00
"query": "[\"AND\", {\"bus__wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"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-07-31 20:29:23 +00:00
"description": "Voir toutes les équipes WEI si on est en 2A+ ou que le WEI est terminé"
2020-04-22 11:28:52 +00:00
}
},
{
"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": "",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Créer une adhésion WEI pour le dernier WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le bus d'une adhésion WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier l'équipe d'une adhésion WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir toutes les adhésions au WEI"
2020-04-22 11:28:52 +00:00
}
},
{
"model": "permission.permission",
"pk": 114,
"fields": {
"model": [
"wei",
"weimembership"
],
2020-07-31 20:29:23 +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-07-31 20:29:23 +00:00
"description": "Voir mes adhésions WEI passées"
2020-04-22 11:28:52 +00:00
}
},
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-07-31 20:29:23 +00:00
"description": "Voir les membres du bus"
2020-04-23 16:28:16 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Voir les membres de l'équipe"
2020-04-23 16:28:16 +00:00
}
},
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-07-31 20:29:23 +00:00
"description": "Modifier le nom du bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la description du bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Ajouter une équipe à mon bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le nom d'une équipe de mon bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la couleur d'une équipe de mon bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la description d'une équipe de mon bus"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier le nom de mon équipe"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la couleur de mon équipe"
2020-04-24 12:03:25 +00:00
}
},
{
"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-07-31 20:29:23 +00:00
"description": "Modifier la description de mon équipe"
2020-04-24 12:03:25 +00:00
}
},
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": "Voir mes activités passées, même après la fin de l'adhésion BDE"
2020-05-07 19:14:36 +00:00
}
},
{
"model": "permission.permission",
"pk": 127,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": true}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": false}]]",
"type": "change",
2020-07-31 20:29:23 +00:00
"mask": 2,
"field": "valid",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier le statut de validation d'une transaction de club si c'est possible"
}
},
{
"model": "permission.permission",
"pk": 128,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "clothing_cut",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier la coupe de vêtements d'une inscription WEI"
}
},
{
"model": "permission.permission",
"pk": 129,
"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}]]",
"type": "change",
"mask": 1,
"field": "clothing_cut",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier ma coupe de vêtements de mon inscription WEI"
}
},
{
"model": "permission.permission",
"pk": 130,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
"type": "change",
"mask": 1,
"field": "clothing_size",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier la taille de vêtements d'une inscription WEI"
}
},
{
"model": "permission.permission",
"pk": 131,
"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}]]",
"type": "change",
"mask": 1,
"field": "clothing_size",
"permanent": true,
2020-07-31 20:29:23 +00:00
"description": "Modifier la taille de vêtements de mon inscription WEI"
}
},
{
"model": "permission.permission",
"pk": 132,
"fields": {
"model": [
"note",
"recurrenttransaction"
],
"query": "{}",
"type": "add",
"mask": 2,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer une transaction depuis un bouton"
}
},
{
"model": "permission.permission",
"pk": 133,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", [\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": true}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": false}]]",
"type": "change",
"mask": 2,
"field": "invalidity_reason",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier la raison d'invalidité d'une transaction de club"
}
},
{
"model": "permission.permission",
"pk": 134,
"fields": {
"model": [
"note",
"transaction"
],
"query": "{}",
"type": "change",
2020-10-19 22:19:49 +00:00
"mask": 2,
"field": "invalidity_reason",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier la raison d'invalidité d'une transaction"
}
},
2020-07-29 16:37:42 +00:00
{
"model": "permission.permission",
"pk": 135,
"fields": {
"model": [
"auth",
"user"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
"description": "Voir n'importe quel⋅le utilisateur⋅rice"
2020-07-29 16:37:42 +00:00
}
},
{
"model": "permission.permission",
"pk": 136,
"fields": {
"model": [
"member",
"profile"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir n'importe quel profil"
2020-07-29 16:37:42 +00:00
}
},
{
"model": "permission.permission",
2020-07-29 17:12:16 +00:00
"pk": 137,
2020-07-29 16:37:42 +00:00
"fields": {
"model": [
"member",
"club"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir n'importe quel club"
2020-07-29 16:37:42 +00:00
}
},
{
"model": "permission.permission",
2020-07-29 17:13:29 +00:00
"pk": 138,
2020-07-29 16:37:42 +00:00
"fields": {
"model": [
"member",
"club"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Modifier n'importe quel club"
2020-07-29 16:37:42 +00:00
}
},
{
"model": "permission.permission",
2020-07-29 17:13:29 +00:00
"pk": 139,
"fields": {
"model": [
"note",
"noteclub"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer une note de club"
}
},
{
"model": "permission.permission",
"pk": 140,
2020-07-29 16:37:42 +00:00
"fields": {
"model": [
"member",
"club"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Créer un club"
2020-07-29 16:37:42 +00:00
}
},
{
"model": "permission.permission",
"pk": 141,
"fields": {
"model": [
"auth",
"user"
],
2020-08-01 20:28:28 +00:00
"query": "{\"memberships__club\": [\"club\"], \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir les membres de mon club"
}
},
{
"model": "permission.permission",
"pk": 142,
"fields": {
"model": [
"note",
2020-08-05 10:22:35 +00:00
"note"
],
2020-08-05 10:22:35 +00:00
"query": "{\"noteclub__club\": [\"club\"]}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
2020-07-31 20:29:23 +00:00
"description": "Voir la note de mon club"
}
},
{
"model": "permission.permission",
"pk": 143,
"fields": {
"model": [
"note",
"noteuser"
],
"query": "{}",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Créer une note d'utilisateur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 144,
"fields": {
"model": [
"wei",
"weiregistration"
],
"query": "[\"AND\", {\"user\": [\"user\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"first_year\": false, \"membership\": null}]",
"type": "change",
"mask": 1,
"field": "information_json",
"permanent": true,
"description": "Modifier mes préférences en terme de bus et d'équipe si mon inscription n'est pas validée et que je suis en 2A+"
}
},
2020-08-02 07:35:32 +00:00
{
"model": "permission.permission",
"pk": 145,
"fields": {
"model": [
"note",
"noteclub"
],
"query": "{}",
"type": "view",
"mask": 1,
"field": "",
"permanent": false,
"description": "Voir toutes les notes de club"
}
},
{
"model": "permission.permission",
"pk": 146,
"fields": {
"model": [
"member",
"membership"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
"description": "Voir toustes les adhérent⋅es du club"
}
},
{
"model": "permission.permission",
"pk": 147,
"fields": {
"model": [
"member",
"membership"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
"permanent": false,
"description": "Ajouter un⋅e membre à n'importe quel club"
}
},
2020-08-03 14:11:05 +00:00
{
"model": "permission.permission",
"pk": 148,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{\"valid\": false}",
"type": "change",
"mask": 2,
"field": "",
"permanent": false,
"description": "Modifier une activité non validée"
}
},
{
"model": "permission.permission",
"pk": 149,
"fields": {
"model": [
"activity",
"activity"
],
"query": "{\"valid\": false}",
"type": "delete",
"mask": 2,
"field": "",
"permanent": false,
"description": "Supprimer une activité non validée"
}
},
2020-08-05 10:22:35 +00:00
{
"model": "permission.permission",
"pk": 150,
"fields": {
"model": [
"note",
"note"
],
"query": "{}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
"description": "Voir toutes les notes"
}
},
2020-08-07 09:04:54 +00:00
{
"model": "permission.permission",
"pk": 151,
"fields": {
"model": [
"treasury",
"invoice"
],
"query": "{}",
"type": "delete",
"mask": 3,
"field": "",
"permanent": false,
"description": "Supprimer une facture"
}
},
{
"model": "permission.permission",
"pk": 152,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "name",
"permanent": false,
"description": "Modifier le nom d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 153,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "description",
"permanent": false,
"description": "Modifier la description d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 154,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "location",
"permanent": false,
"description": "Modifier le lieu d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 155,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "activity_type",
"permanent": false,
"description": "Modifier le type d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 156,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "organizer",
"permanent": false,
"description": "Modifier l'organisateur d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 157,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "attendees_club",
"permanent": false,
"description": "Modifier le club attendu d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 158,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "date_start",
"permanent": false,
"description": "Modifier la date de début d'une activité non validée dont on est l'auteur⋅rice"
}
},
{
"model": "permission.permission",
"pk": 159,
"fields": {
"model": [
"activity",
"activity"
],
"query": "[\"AND\", {\"valid\": false}, {\"creater\": [\"user\"]}]",
"type": "change",
"mask": 1,
"field": "date_end",
"permanent": false,
"description": "Modifier la date de fin d'une activité non validée dont on est l'auteur⋅rice"
}
},
2020-08-30 21:54:54 +00:00
{
"model": "permission.permission",
"pk": 160,
"fields": {
"model": [
"activity",
"guest"
],
"query": "{\"inviter\": [\"user\", \"note\"], \"entry\": null}",
"type": "delete",
"mask": 1,
"field": "",
"permanent": false,
"description": "Supprimer ses propres invitations non validées à une activité"
}
},
2020-08-31 18:15:48 +00:00
{
"model": "permission.permission",
"pk": 161,
"fields": {
"model": [
"note",
"noteuser"
],
"query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"inactivity_reason\": \"manual\"}, {\"is_active\": true}]]",
2020-08-31 18:15:48 +00:00
"type": "change",
"mask": 1,
"field": "is_active",
"permanent": true,
"description": "(Dé)bloquer sa propre note manuellement"
}
},
{
"model": "permission.permission",
"pk": 162,
"fields": {
"model": [
"note",
"noteuser"
],
"query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"inactivity_reason\": \"manual\"}, {\"is_active\": true}]]",
2020-08-31 18:15:48 +00:00
"type": "change",
"mask": 1,
"field": "inactivity_reason",
"permanent": true,
"description": "(Dé)bloquer sa propre note et indiquer que cela a été fait manuellement"
}
},
{
"model": "permission.permission",
"pk": 163,
"fields": {
"model": [
"note",
"note"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "is_active",
"permanent": false,
"description": "(Dé)bloquer n'importe quelle note, y compris en mode forcé"
}
},
{
"model": "permission.permission",
"pk": 164,
"fields": {
"model": [
"note",
"note"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "inactivity_reason",
"permanent": false,
"description": "(Dé)bloquer sa propre note et modifier la raison"
}
},
{
"model": "permission.permission",
"pk": 165,
"fields": {
"model": [
"auth",
"user"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "password",
"permanent": true,
"description": "Changer son mot de passe"
}
},
{
"model": "permission.permission",
"pk": 166,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}}, {\"valid\": false}]",
"type": "add",
"mask": 2,
"field": "",
"permanent": false,
"description": "Créer une transaction quelconque tant que la source reste au-dessus de -50 €"
}
},
{
"model": "permission.permission",
"pk": 167,
"fields": {
"model": [
"note",
"transaction"
],
2020-09-04 14:43:57 +00:00
"query": "[\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": true}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": false}]",
"type": "change",
"mask": 2,
"field": "valid",
"permanent": false,
"description": "Modifier le statut de validation d'une transaction si c'est possible"
}
},
{
"model": "permission.permission",
"pk": 168,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": true}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 5000]}, \"valid\": false}]",
"type": "change",
"mask": 2,
"field": "invalidity_reason",
"permanent": false,
"description": "Modifier la raison d'invalidité d'une transaction si c'est possible"
}
},
{
"model": "permission.permission",
"pk": 169,
"fields": {
"model": [
"note",
"noteclub"
],
"query": "{\"club\": [\"club\"]}",
"type": "change",
"mask": 1,
"field": "display_image",
"permanent": false,
"description": "Changer l'image de la note de son club"
}
},
{
"model": "permission.permission",
"pk": 170,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__is_active\": true}",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Ajouter n'importe quel alias à une note non bloquée"
}
},
{
"model": "permission.permission",
"pk": 171,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__is_active\": true}",
"type": "delete",
"mask": 3,
"field": "",
"permanent": false,
"description": "Supprimer n'importe quel alias à une note non bloquée"
}
},
{
"model": "permission.permission",
"pk": 172,
"fields": {
"model": [
"treasury",
"remittance"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
"description": "Voir toutes les remises"
}
},
{
"model": "permission.permission",
"pk": 173,
"fields": {
"model": [
"treasury",
"remittance"
],
"query": "{}",
"type": "add",
"mask": 3,
"field": "",
"permanent": false,
"description": "Ajouter une remise"
}
},
{
"model": "permission.permission",
"pk": 174,
"fields": {
"model": [
"treasury",
"remittance"
],
"query": "{}",
"type": "change",
"mask": 3,
"field": "",
"permanent": false,
"description": "Modifier une remise"
}
},
{
"model": "permission.permission",
"pk": 175,
"fields": {
"model": [
"treasury",
"remittance"
],
"query": "{}",
"type": "delete",
"mask": 3,
"field": "",
"permanent": false,
"description": "Supprimer une remise"
}
},
{
"model": "permission.permission",
"pk": 176,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"profile__registration_valid\": false}",
"type": "change",
"mask": 1,
"field": "",
"permanent": false,
"description": "Modifier n'importe quel⋅le utilisateur⋅rice non encore inscrit⋅e"
}
},
{
"model": "permission.permission",
"pk": 177,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"registration_valid\": false}",
"type": "change",
"mask": 1,
"field": "",
"permanent": false,
"description": "Modifier n'importe quel profil non encore inscrit"
}
},
{
"model": "permission.permission",
"pk": 178,
"fields": {
"model": [
"note",
"alias"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
"description": "Voir tous les alias, y compris ceux des non adhérent⋅es"
}
},
{
"model": "permission.permission",
"pk": 179,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__noteuser__user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"description": "Voir ses propres alias, pour toujours"
}
},
{
"model": "permission.permission",
"pk": 180,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"profile__registration_valid\": false}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
"description": "Voir n'importe quel⋅le utilisateur⋅rice non encore inscrit⋅e"
}
},
{
"model": "permission.permission",
"pk": 181,
"fields": {
"model": [
"member",
"profile"
],
"query": "{\"registration_valid\": false}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
"description": "Voir n'importe quel profil non encore inscrit"
}
},
{
"model": "permission.permission",
"pk": 182,
"fields": {
"model": [
"auth",
"user"
],
"query": "{\"memberships__club__name\": \"BDE\", \"memberships__roles__name\": \"Adhérent⋅e BDE\", \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}",
"type": "view",
"mask": 2,
"field": "",
"permanent": false,
"description": "Voir n'importe quel⋅le utilisateur⋅rice qui est adhérent⋅e BDE"
}
},
{
"model": "permission.permission",
"pk": 183,
"fields": {
"model": [
"note",
"note"
],
"query": "{}",
"type": "change",
"mask": 1,
"field": "display_image",
"permanent": false,
"description": "Changer l'image de n'importe quelle note"
}
},
{
"model": "permission.permission",
"pk": 184,
"fields": {
"model": [
"note",
"noteclub"
],
"query": "[\"AND\", {\"club\": [\"club\"]}, [\"OR\", {\"inactivity_reason\": \"manual\"}, {\"is_active\": true}]]",
"type": "change",
"mask": 3,
"field": "is_active",
"permanent": true,
"description": "(Dé)bloquer la note de son club manuellement"
}
},
{
"model": "permission.permission",
"pk": 185,
"fields": {
"model": [
"note",
"noteclub"
],
"query": "[\"AND\", {\"club\": [\"club\"]}, [\"OR\", {\"inactivity_reason\": \"manual\"}, {\"is_active\": true}]]",
"type": "change",
"mask": 3,
"field": "inactivity_reason",
"permanent": true,
"description": "(Dé)bloquer la note de son club et indiquer que cela a été fait manuellement"
}
},
{
"model": "permission.permission",
"pk": 186,
"fields": {
"model": [
"oauth2_provider",
"application"
],
"query": "{\"user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"description": "Voir ses applications OAuth2"
}
},
{
"model": "permission.permission",
"pk": 187,
"fields": {
"model": [
"oauth2_provider",
"application"
],
"query": "{\"user\": [\"user\"]}",
"type": "add",
"mask": 1,
"field": "",
"permanent": true,
"description": "Créer une application OAuth2"
}
},
{
"model": "permission.permission",
"pk": 188,
"fields": {
"model": [
"oauth2_provider",
"application"
],
"query": "{\"user\": [\"user\"]}",
"type": "change",
"mask": 1,
"field": "",
"permanent": true,
"description": "Modifier une application OAuth2"
}
},
{
"model": "permission.permission",
"pk": 189,
"fields": {
"model": [
"oauth2_provider",
"application"
],
"query": "{\"user\": [\"user\"]}",
"type": "delete",
"mask": 1,
"field": "",
"permanent": true,
"description": "Supprimer une application OAuth2"
}
},
2021-10-04 16:36:32 +00:00
{
"model": "permission.permission",
"pk": 190,
"fields": {
"model": [
"note",
"trust"
],
"query": "{\"trusting\": [\"user\", \"note\"]}",
"type": "delete",
"mask": 1,
"field": "",
"permanent": false,
"description": "Supprimer une amitié à sa note"
}
},
{
"model": "permission.permission",
"pk": 191,
"fields": {
"model": [
"note",
"trust"
],
"query": "{\"trusting\": [\"user\", \"note\"]}",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Ajouter une amitié à sa note"
}
},
{
"model": "permission.permission",
"pk": 192,
"fields": {
"model": [
"note",
"trust"
],
"query": "{\"trusting__is_active\": true}",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Ajouter une amitié à une note non bloquée"
}
},
{
"model": "permission.permission",
"pk": 193,
"fields": {
"model": [
"note",
"trust"
],
"query": "{\"trusting__is_active\": true}",
"type": "delete",
"mask": 3,
"field": "",
"permanent": false,
"description": "Supprimer une amitié à une note non bloquée"
}
},
{
"model": "permission.permission",
"pk": 194,
"fields": {
"model": [
"note",
"trust"
],
"query": "{}",
"type": "view",
"mask": 3,
"field": "",
"permanent": false,
"description": "Voir toutes les amitiés, y compris celles des non adhérent⋅es"
2021-10-04 16:36:32 +00:00
}
},
{
"model": "permission.permission",
"pk": 195,
"fields": {
"model": [
"note",
"trust"
],
"query": "{\"trusting__noteuser__user\": [\"user\"]}",
"type": "view",
"mask": 1,
"field": "",
"permanent": true,
"description": "Voir ses propres amitiés, pour toujours"
}
},
{
"model": "permission.permission",
"pk": 196,
"fields": {
"model": [
"note",
"transaction"
],
"query": "[\"AND\", {\"source__trusting__trusted\": [\"user\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]]}}, {\"valid\": false}]]",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Transférer de l'argent depuis une note amie en restant positif"
}
},
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,
"name": "Adh\u00e9rent\u22c5e BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
1,
2,
3,
4,
5,
6,
2020-04-22 11:28:52 +00:00
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
2020-08-02 07:30:18 +00:00
22,
2020-04-22 11:28:52 +00:00
48,
2020-05-07 19:14:36 +00:00
52,
2020-08-31 18:15:48 +00:00
126,
161,
162,
165,
186,
187,
188,
2021-10-04 16:36:32 +00:00
189,
190,
191,
195,
196
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,
"name": "Adh\u00e9rent\u22c5e Kfet",
2020-04-22 11:28:52 +00:00
"permissions": [
2020-08-02 07:30:18 +00:00
22,
34,
36,
39,
40,
70,
2020-04-22 11:28:52 +00:00
78,
79,
83,
87,
90,
93,
95,
97,
99,
101,
108,
109,
129,
131,
144,
152,
153,
154,
155,
156,
157,
158,
2020-08-30 21:54:54 +00:00
159,
160,
2021-10-04 16:36:32 +00:00
179,
189,
190
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",
2020-08-02 07:30:18 +00:00
"permissions": [
22
]
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": [
47,
49,
50,
141,
169
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": 5,
"fields": {
"for_club": null,
"name": "Pr\u00e9sident\u22c5e de club",
2020-04-22 11:28:52 +00:00
"permissions": [
50,
62,
141,
142
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": 6,
"fields": {
"for_club": null,
"name": "Tr\u00e9sorièr\u22c5e 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,
133,
136,
141,
142,
150,
166,
167,
168,
182,
184,
185
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,
"name": "Pr\u00e9sident\u22c5e BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
24,
25,
26,
27,
30,
33
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": 8,
"fields": {
"for_club": 1,
"name": "Tr\u00e9sorièr\u22c5e BDE",
2020-04-22 11:28:52 +00:00
"permissions": [
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
43,
51,
2020-04-22 11:28:52 +00:00
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,
73,
132,
2020-07-29 16:37:42 +00:00
134,
135,
136,
137,
138,
2020-07-31 20:29:23 +00:00
139,
140,
143,
146,
2020-08-05 10:22:35 +00:00
147,
2020-08-07 09:04:54 +00:00
150,
2020-08-31 18:15:48 +00:00
151,
163,
164,
170,
171,
172,
173,
174,
175,
176,
177,
178,
188,
2021-10-04 16:36:32 +00:00
183,
186,
187
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,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
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,
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,
127,
128,
129,
130,
131,
132,
133,
2020-07-29 16:37:42 +00:00
134,
135,
136,
137,
138,
139,
140,
141,
2020-07-31 20:29:23 +00:00
142,
143,
144,
145,
146,
2020-08-03 14:11:05 +00:00
147,
148,
2020-08-05 10:22:35 +00:00
149,
2020-08-07 09:04:54 +00:00
150,
151,
152,
153,
154,
155,
156,
157,
158,
2020-08-31 18:15:48 +00:00
159,
160,
161,
162,
163,
164,
165,
166,
167,
168,
169,
170,
171,
172,
173,
174,
175,
176,
177,
178,
179,
180,
181,
182,
183,
184,
185,
186,
187,
188,
2021-10-04 16:36:32 +00:00
189,
190,
191,
192,
193,
194,
195,
196
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,
56,
58,
55,
57,
52,
2020-04-22 11:28:52 +00:00
23,
24,
25,
26,
27,
28,
29,
30,
2020-07-31 20:29:23 +00:00
31,
70,
72,
143,
166,
167,
168,
170,
171,
176,
177,
178,
179,
180,
181,
182
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,
2020-08-03 14:11:05 +00:00
46,
148,
149,
182
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": 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": [
2020-08-05 10:22:35 +00:00
22,
2020-04-22 11:28:52 +00:00
76,
85,
86,
88,
89,
91,
92,
94,
96,
98,
100,
102,
103,
104,
105,
106,
107,
110,
111,
112,
113,
130,
131
2020-04-22 11:28:52 +00:00
]
}
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,
"name": "Chef\u22c5fe de bus",
2020-04-23 16:28:16 +00:00
"permissions": [
2020-08-05 10:22:35 +00:00
22,
2020-07-31 20:29:23 +00:00
84,
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,
"name": "Chef\u22c5fe d'\u00e9quipe",
2020-04-23 16:28:16 +00:00
"permissions": [
2020-08-05 10:22:35 +00:00
22,
2020-07-31 20:29:23 +00:00
84,
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",
2020-07-31 20:29:23 +00:00
"permissions": [
2020-08-05 10:22:35 +00:00
22,
2020-07-31 20:29:23 +00:00
84
]
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)",
2020-07-31 20:29:23 +00:00
"permissions": [
2020-08-05 10:22:35 +00:00
22,
2020-07-31 20:29:23 +00:00
84
]
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,
"name": "Adhérent\u22c5e WEI",
2020-04-24 12:03:25 +00:00
"permissions": [
2020-05-07 19:14:36 +00:00
77,
87,
90,
93,
95,
97,
99,
101,
108,
109,
114,
128,
130
2020-04-24 12:03:25 +00:00
]
}
2020-07-25 17:40:30 +00:00
},
2020-08-02 07:35:32 +00:00
{
"model": "permission.role",
"pk": 19,
"fields": {
"for_club": 1,
"name": "Secrétaire BDE",
"permissions": [
54,
55,
56,
57,
58,
135,
136,
137,
139,
140,
143,
145,
146,
147,
150,
176,
177
2020-08-02 07:35:32 +00:00
]
}
},
2020-10-19 22:19:49 +00:00
{
"model": "permission.role",
"pk": 20,
"fields": {
"for_club": 1,
2020-10-19 22:19:49 +00:00
"name": "PC Kfet",
"permissions": [
6,
22,
2020-10-19 22:19:49 +00:00
24,
25,
26,
27,
30,
49,
50,
55,
56,
57,
58,
70,
72,
135,
137,
143,
147,
2020-10-19 22:19:49 +00:00
150,
166,
167,
168,
176,
177,
180,
181
2020-10-19 22:19:49 +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
]