mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-30 23:39:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			5520 lines
		
	
	
		
			150 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			5520 lines
		
	
	
		
			150 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| [
 | |
|     {
 | |
|         "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": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir son compte utilisateur⋅rice"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 2,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir son profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 3,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir sa propre note d'utilisateur⋅rice"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 4,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "authtoken",
 | |
|                 "token"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir son jeton d'authentification à l'API"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 5,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source\": [\"user\", \"note\"]}, {\"destination\": [\"user\", \"note\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir ses propres transactions"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les alias des notes des clubs et des adhérent⋅es du club BDE"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 7,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"pk\": [\"user\", \"pk\"]}, {\"memberships__club__parent_club__isnull\": true}]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "last_login",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier sa propre date de dernière connexion"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 8,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "username",
 | |
|             "permanent": true,
 | |
|             "description": "Changer son propre pseudo"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 9,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "first_name",
 | |
|             "permanent": true,
 | |
|             "description": "Changer son propre prénom"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 10,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "last_name",
 | |
|             "permanent": true,
 | |
|             "description": "Changer son propre nom de famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 11,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "email",
 | |
|             "permanent": true,
 | |
|             "description": "Changer sa propre adresse e-mail"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 12,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "authtoken",
 | |
|                 "token"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Supprimer son jeton d'authentification à l'API"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 13,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "authtoken",
 | |
|                 "token"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Créer un jeton d'authentification à l'API"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 14,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "alias"
 | |
|             ],
 | |
|             "query": "{\"note\": [\"user\", \"note\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Supprimer un alias à sa note"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 15,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "alias"
 | |
|             ],
 | |
|             "query": "{\"note\": [\"user\", \"note\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un alias à sa note"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 16,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteuser"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"note\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "display_image",
 | |
|             "permanent": false,
 | |
|             "description": "Changer l'image de sa note"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Transférer de l'argent depuis sa propre note en restant positif"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 19,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "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\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les notes des membres du club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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\"]], 2000]}}, {\"valid\": false}]]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction de ou vers la note d'un club tant que la source reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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\"]], 2000]}}, {\"valid\": false}]]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction en appuyant sur un bouton lié à un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 22,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"club\", \"pk\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les informations d'un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 23,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Mettre à jour le statut de validation d'une transaction"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 24,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les transactions"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 25,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "notespecial"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Afficher l'interface crédit/retrait"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 26,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "specialtransaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un crédit ou un retrait quelconque"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 27,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "templatecategory"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les catégories de boutons"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 28,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "templatecategory"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Changer une catégorie de boutons"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 29,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "templatecategory"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une catégorie de boutons"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 30,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir tous les boutons"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 31,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un bouton"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 32,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un bouton"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 33,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer n'importe quelle transaction"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 34,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"valid\": true}, {\"creater\": [\"user\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les activités valides"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 36,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{\"creater\": [\"user\"], \"valid\": false}",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Proposer des activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 37,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Valider des activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 38,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "open",
 | |
|             "permanent": false,
 | |
|             "description": "Ouvrir des activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 39,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{\"inviter\": [\"user\", \"note\"], \"activity__activity_type__can_invite\": true}",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Inviter des personnes à des activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 40,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{\"inviter\": [\"user\", \"note\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir les personnes qu'on a invitées"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 41,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 42,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les personnes invitées"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 43,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "entry"
 | |
|             ],
 | |
|             "query": "{\"activity__open\": true}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Gérer les entrées d'une activité ouverte"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 44,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guesttransaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction d'invitation"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 45,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guesttransaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les transactions d'invitation"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 46,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guesttransaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Valider les transactions d'invitation"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 47,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"club\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 48,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir mes adhésions"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 49,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les adhérent⋅es du club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 50,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un⋅e membre à un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 51,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "roles",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier les rôles d'une adhésion"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 52,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier son profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 53,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier n'importe quel profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 54,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier n'importe quel⋅le utilisateur⋅rice"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 55,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un⋅e utilisateur⋅rice"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 56,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{\"email_confirmed\": false, \"registration_valid\": false}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 57,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"profile__registration_valid\": false}",
 | |
|             "type": "delete",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer une pré-inscription"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 58,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{\"registration_valid\": false}",
 | |
|             "type": "delete",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer le profil d'une pré-inscription"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 59,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{\"destination\": [\"club\", \"note\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les boutons d'un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 60,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{\"destination\": [\"club\", \"note\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un bouton d'un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 61,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transactiontemplate"
 | |
|             ],
 | |
|             "query": "{\"destination\": [\"club\", \"note\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le bouton d'un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 62,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source\": [\"club\", \"note\"]}, {\"destination\": [\"club\", \"note\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les transactions d'un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 63,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "invoice"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les factures"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 64,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "invoice"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter une facture"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 65,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "invoice"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier une facture"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 66,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "product"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les produits"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 67,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "product"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter des produits"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 68,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "product"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un produit"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 69,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "product"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "delete",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer un produit"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 70,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "sogecredit"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 71,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "sogecredit"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir tous les crédits de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 72,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "sogecredit"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 73,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "treasury",
 | |
|                 "sogecredit"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "delete",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer un crédit de la Soci\u00e9t\u00e9 g\u00e9n\u00e9rale"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 74,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiclub"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 75,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiclub"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier tous les WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 76,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiclub"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"club\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier ce WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 77,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiclub"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"club\", \"pk\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir mon WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 78,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiclub"
 | |
|             ],
 | |
|             "query": "{\"membership_start__lte\": [\"today\"], \"year\": [\"today\", \"year\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir le dernier WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 79,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weirole"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les rôles pour le WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 83,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"user\": [\"user\"], \"wei__year\": [\"today\", \"year\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
 | |
|             "type": "add",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "M'inscrire au dernier 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": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Inscrire un⋅e 1A au WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 85,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"], \"membership\": null}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Inscrire n'importe qui au WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 86,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer une inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 87,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"wei\": [\"club\"]}, {\"wei__year\": [\"today\", \"year\"], \"membership\": null}]]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir ma propre inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 88,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les inscriptions WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 89,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "soge_credit",
 | |
|             "permanent": false,
 | |
|             "description": "Indiquer si une inscription WEI est payée par la Société générale"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "soge_credit",
 | |
|             "permanent": true,
 | |
|             "description": "Indiquer si mon inscription WEI est payée par la Société générale tant qu'elle n'est pas validée"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 91,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}, {\"deposit_type\": \"note\"}]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "deposit_given",
 | |
|             "permanent": false,
 | |
|             "description": "Autoriser une transaction de caution WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 92,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "birth_date",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la date de naissance d'une inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "birth_date",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier la date de naissance de ma propre inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 94,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "gender",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le genre de toute inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "gender",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier le genre de ma propre inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 96,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "health_issues",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier les problèmes de santé de toutes les inscriptions WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "health_issues",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier mes problèmes de santé de mon inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 98,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "emergency_contact_name",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le nom du contact en cas d'urgence de toute inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "emergency_contact_name",
 | |
|             "permanent": true,
 | |
|             "description": "Modifier le nom du contact en cas d'urgence de mon inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 100,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "emergency_contact_phone",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le téléphone du contact en cas d'urgence de toute inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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}]]",
 | |
|             "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 102,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "information_json",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier les informations (sondage 1A, ...) d'une inscription WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 103,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un bus au WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 104,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "name",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le nom d'un bus d'un WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 105,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"], \"wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "description",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la description d'un bus d'un WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 106,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une équipe WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 107,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier une équipe WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 108,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"registration\", \"first_year\"]], {\"wei__date_end__lte\": [\"today\"]}]]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir tous les bus WEI si on est en 2A+ ou que le WEI est terminé"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 109,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"bus__wei\": [\"club\"]}, [\"OR\", [\"NOT\", [\"membership\", \"weimembership\", \"registration\", \"first_year\"]], {\"bus__wei__date_end__lte\": [\"today\"]}]]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir toutes les équipes WEI si on est en 2A+ ou que le WEI est terminé"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 110,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une adhésion WEI pour le dernier WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 111,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "bus",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le bus d'une adhésion WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 112,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "team",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'équipe d'une adhésion WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 113,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les adhésions au WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 114,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"user\": [\"user\"], \"club\": [\"club\"]}, [\"OR\", {\"registration__first_year\": false}, {\"club__weiclub__date_end__lte\": [\"today\"]}]]",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir mes adhésions WEI passées"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 115,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"], \"bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les membres du bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 116,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"], \"team\": [\"membership\", \"weimembership\", \"team\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les membres de l'équipe"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 117,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "name",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le nom du bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 118,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "description",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la description du bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 119,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter une équipe à mon bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 120,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "name",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le nom d'une équipe de mon bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 121,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "color",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la couleur d'une équipe de mon bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 122,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "description",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la description d'une équipe de mon bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 123,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "name",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le nom de mon équipe"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 124,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "color",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la couleur de mon équipe"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 125,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"team\", \"pk\"], \"bus__wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "description",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la description de mon équipe"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 126,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{\"entries__note__user\": [\"user\"]}",
 | |
|             "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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\"]], 2000]}, \"valid\": false}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": true}]]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "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": 3,
 | |
|             "field": "clothing_cut",
 | |
|             "permanent": false,
 | |
|             "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,
 | |
|             "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": 3,
 | |
|             "field": "clothing_size",
 | |
|             "permanent": false,
 | |
|             "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,
 | |
|             "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,
 | |
|             "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\"]], 2000]}, \"valid\": true}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": false}]]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "invalidity_reason",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la raison d'invalidité d'une transaction de club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 134,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "invalidity_reason",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la raison d'invalidité d'une transaction"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 136,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir n'importe quel profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 137,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir n'importe quel club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 138,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier n'importe quel club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 139,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteclub"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une note de club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 140,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 141,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"memberships__club\": [\"club\"], \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les membres de mon club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 142,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{\"noteclub__club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir la note de mon club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 143,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteuser"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "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+"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 145,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteclub"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "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 de tous les clubs"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 150,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les notes"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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é"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 161,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteuser"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"user\": [\"user\"]}, [\"OR\", {\"inactivity_reason\": \"manual\"}, {\"is_active\": true}]]",
 | |
|             "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}]]",
 | |
|             "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 n'importe quelle note et indiquer 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\", [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}}, {\"valid\": false}], [\"NOT\", {\"recurrenttransaction__template__category__name\": \"Alcool\"}]], [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 0]}}, {\"valid\": false}], {\"recurrenttransaction__template__category__name\": \"Alcool\"}]]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction quelconque tant que la source reste positive s'il s'agit d'alcool, sinon au-dessus de -20€"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 167,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"AND\", [\"OR\", [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": false}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": true}], [\"NOT\", {\"recurrenttransaction__template__category__name\": \"Alcool\"}]], [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 0]}, \"valid\": false}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": true}], {\"recurrenttransaction__template__category__name\": \"Alcool\"}]], {\"created_at__gte\": {\"F\": [\"SUB\", [\"now\"], [\"week\"]]}}]"
 | |
| ,
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le statut de validation d'une transaction si tout le monde reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 168,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"AND\", [\"OR\", [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": false}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": true}], [\"NOT\", {\"recurrenttransaction__template__category__name\": \"Alcool\"}]], [\"AND\", [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 0]}, \"valid\": false}, {\"destination__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}, \"valid\": true}], {\"recurrenttransaction__template__category__name\": \"Alcool\"}]], {\"created_at__gte\": {\"F\": [\"SUB\", [\"now\"], [\"week\"]]}}]"
 | |
| ,
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "invalidity_reason",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la raison d'invalidité d'une transaction si tout le monde reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 169,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "noteclub"
 | |
|             ],
 | |
|             "query": "{\"club\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "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": 3,
 | |
|             "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": 3,
 | |
|             "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": 3,
 | |
|             "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": 3,
 | |
|             "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": false,
 | |
|             "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": false,
 | |
|             "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 190,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "trust"
 | |
|             ],
 | |
|             "query": "{\"trusting\": [\"user\", \"note\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "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": 3,
 | |
|             "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 197,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "specialtransaction"
 | |
|             ],
 | |
|             "query": "{\"source__notespecial__gte\":0}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un crédit quelconque"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 198,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "trust"
 | |
|             ],
 | |
|             "query": "{\"trusted__noteuser__user\": [\"user\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": true,
 | |
|             "description": "Voir ceux nous ayant pour ami, pour toujours"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 199,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{\"opener__in\": [\"user\", \"note\", \"activity_responsible\", [\"all\"]], \"open\": true, \"activity_type__manage_entries\":true}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les activités ouvertes dont l'utilisateur⋅rice est ouvreur⋅se"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 200,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{\"opener__in\": [\"user\", \"note\", \"activity_responsible\", [\"all\"]], \"open\": true, \"activity_type__manage_entries\":true}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "open",
 | |
|             "permanent": false,
 | |
|             "description": "Fermer les activités ouvertes dont l'utilisateur⋅rice est ouvreur⋅se"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 201,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "entry"
 | |
|             ],
 | |
|             "query": "{\"activity__opener__in\": [\"user\", \"note\", \"activity_responsible\", [\"all\"]], \"activity__open\": true, \"activity__activity_type__manage_entries\":true}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Faire les entrées des activités ouvertes dont l'utilisateur⋅rice est ouvreur⋅se"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 202,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "entry"
 | |
|             ],
 | |
|             "query": "{\"activity__opener__in\": [\"user\", \"note\", \"activity_responsible\", [\"all\"]]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les entrées des activités dont l'utilisateur⋅rice est ouvreur⋅se"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 203,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{\"activity__opener__in\": [\"user\", \"note\", \"activity_responsible\", [\"all\"]]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les invité⋅es des activités dont l'utilisateur⋅rice est ouvreur⋅se"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 204,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guesttransaction"
 | |
|             ],
 | |
|             "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction d'invitation lorsque l'utilisateur⋅rice est ouvreur⋅se d'une activité ouverte"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
| 
 | |
|         "model": "permission.permission",
 | |
|         "pk": 205,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "specialtransaction"
 | |
|             ],
 | |
|             "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un crédit ou un retrait quelconque lorsque l'utilisateur⋅rice est ouvreur⋅se d'une activité ouverte"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 206,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "notespecial"
 | |
|             ],
 | |
|             "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Afficher l'interface crédit/retrait lorsque l'utilisateur⋅rice est ouvreur⋅se d'une activité ouverte"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 207,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les ouvreur⋅ses des activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 208,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter des ouvreur⋅ses aux activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 209,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "delete",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer des ouvreur⋅ses aux activités"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 210,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "opener",
 | |
|             "permanent": false,
 | |
|             "description": "Voir le tableau des ouvreur⋅ses"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 211,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"qrcode"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir n'importe quel QR-code"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 212,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"allergen"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 1,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir n'importe quel allergène"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 213,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir n'importe quelle bouffe"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 214,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"qrcode"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "add",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Ajouter n'importe quel QR-code"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 215,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "add",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Ajouter n'importe quelle bouffe"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 216,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{}",
 | |
| 	    "type": "change",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Modifier n'importe quelle bouffe"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 217,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"qrcode"
 | |
| 	    ],
 | |
| 	    "query": "{\"food_container__owner\": [\"club\"]}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir un QR-code lié à son club"
 | |
|     	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 218,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{\"owner\": [\"club\"]}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir la bouffe de son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 219,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"qrcode"
 | |
| 	    ],
 | |
| 	    "query": "{\"food_container__owner\": [\"club\"]}",
 | |
| 	    "type": "add",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Ajouter un QR-code pour son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 220,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{\"owner\": [\"club\"]}",
 | |
| 	    "type": "add",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Ajouter de la bouffe appartenant à son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 221,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"food",
 | |
| 		"food"
 | |
| 	    ],
 | |
| 	    "query": "{\"owner\": [\"club\"]}",
 | |
| 	    "type": "change",
 | |
| 	    "mask": 2,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Modifier la bouffe appartenant à son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 222,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 	        "food",
 | |
|     		"food"
 | |
| 	    ],
 | |
| 	    "query": "{\"end_of_life\": \"\"}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 1,
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir la bouffe servie"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 239,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "alias"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"note__noteuser__user__memberships__club\": [\"club\"], \"note__noteuser__user__memberships__date_start__lte\": [\"today\"], \"note__noteuser__user__memberships__date_end__gte\": [\"today\"]}, {\"note__is_active\": true}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les alias des notes des adhérent⋅es du club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 240,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "alias"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"note__noteuser__user__memberships__club\": [\"club\", \"parent_club\"], \"note__noteuser__user__memberships__date_start__lte\": [\"today\"], \"note__noteuser__user__memberships__date_end__gte\": [\"today\"]}, {\"note__is_active\": true}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les alias des notes des adhérent⋅es du club parent"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 241,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"memberships__club\": [\"club\", \"parent_club\"], \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}, {\"note__is_active\": true}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les utilisateurs adhérents au club parent"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 242,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"destination\": [\"club\", \"note\"]}, [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}}, {\"valid\": false}]]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction vers la note d'un club tant que la source reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 243,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{\"user__memberships__club\": [\"club\"], \"user__memberships__date_start__lte\": [\"today\"],\"user__memberships__date_end__gte\": [\"today\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
| 	    "description": "Voir les profils des membres du club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 244,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "ml_events_registration",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'abonnement à la Newsletter BDE pour n'importe quel profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 245,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "ml_art_registration",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'abonnement à la Newsletter Art pour n'importe quel profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 246,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "profile"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "ml_sport_registration",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'abonnement à la Newsletter Sport pour n'importe quel profil"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 247,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{\"activity__organizer\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les personnes invitées aux événements organisés par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 248,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir n'importe quel⋅le utilisateur⋅rice pour les ouvreur⋅ses"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 249,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "[\"NOT\", {\"pk__isnull\": [\"user\", \"note\", \"activity_responsible\", [\"filter\", {\"activity__open\": true, \"activity__activity_type__manage_entries\":true}], [\"exists\"]]}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les notes lorsque utilisateur⋅rice est ouvreur⋅ses"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 250,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "guest"
 | |
|             ],
 | |
|             "query": "{\"activity__organizer\": [\"club\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer des personnes invitées aux événements organisés par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 251,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{\"activity__organizer\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les ouvreur⋅ses des activités organisées par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 252,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{\"activity__organizer\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter des ouvreur⋅ses aux activités organisées par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 253,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "opener"
 | |
|             ],
 | |
|             "query": "{\"activity__organizer\": [\"club\"]}",
 | |
|             "type": "delete",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer des ouvreur⋅ses aux activités organisées par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 254,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "activity",
 | |
|                 "activity"
 | |
|             ],
 | |
|             "query": "{\"organizer\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "opener",
 | |
|             "permanent": false,
 | |
|             "description": "Voir le tableau des ouvreur⋅ses pour les activités organisées par son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 255,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"wrapped",
 | |
| 		"wrapped"
 | |
| 	    ],
 | |
| 	    "query": "{\"public\": true}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 1,
 | |
| 	    "field": "",
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir les wrapped public"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 256,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"wrapped",
 | |
| 		"wrapped"
 | |
| 	    ],
 | |
| 	    "query": "{\"note__noteuser__user\": [\"user\"]}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 1,
 | |
| 	    "field": "",
 | |
| 	    "permanent": true,
 | |
| 	    "description": "Voir ses propres wrapped, pour toujours"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 257,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"wrapped",
 | |
| 		"wrapped"
 | |
| 	    ],
 | |
| 	    "query": "{\"note__noteuser__user\": [\"user\"]}",
 | |
| 	    "type": "change",
 | |
| 	    "mask": 1,
 | |
| 	    "field": "public",
 | |
| 	    "permanent": true,
 | |
| 	    "description": "Modifier la visibilité de ses wrapped, pour toujours"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 258,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"wrapped",
 | |
| 		"wrapped"
 | |
| 	    ],
 | |
| 	    "query": "{\"note__noteclub__club\": [\"club\"]}",
 | |
| 	    "type": "view",
 | |
| 	    "mask": 1,
 | |
| 	    "field": "",
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Voir les wrapped de son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
| 	"model": "permission.permission",
 | |
| 	"pk": 259,
 | |
| 	"fields": {
 | |
| 	    "model": [
 | |
| 		"wrapped",
 | |
| 		"wrapped"
 | |
| 	    ],
 | |
| 	    "query": "{\"note__noteclub__club\": [\"club\"]}",
 | |
| 	    "type": "change",
 | |
| 	    "mask": 1,
 | |
| 	    "field": "public",
 | |
| 	    "permanent": false,
 | |
| 	    "description": "Modifier la visibilité des wrapped de son club"
 | |
| 	}
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 260,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"parent_club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les informations d'un club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 261,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"parent_club\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 262,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__parent_club\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un⋅e membre à un club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 263,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__parent_club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les adhérent⋅es du club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 264,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source__noteclub__club__parent_club\": [\"club\"]}, {\"destination__noteclub__club__parent_club\": [\"club\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les transactions d'un club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 265,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{\"noteclub__club__parent_club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir la note d'un club enfant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 266,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source_alias\": \"Carte bancaire\"}, {\"source_alias\": \"Espèces\"}, {\"source_alias\": \"Chèque\"}, {\"source_alias\": \"Virement bancaire\"}]",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les transactions de rechargement"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 267,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source_alias\": \"Carte bancaire\"}, {\"source_alias\": \"Espèces\"}, {\"source_alias\": \"Chèque\"}, {\"source_alias\": \"Virement bancaire\"}]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Mettre à jour le statut de validation d'une transaction de rechargement"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 268,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source_alias\": \"Carte bancaire\"}, {\"source_alias\": \"Espèces\"}, {\"source_alias\": \"Chèque\"}, {\"source_alias\": \"Virement bancaire\"}]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "invalidity_reason",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier la raison d'invalidité d'une transaction de rechargement"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 269,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source_alias\": \"Carte bancaire\"}, {\"source_alias\": \"Espèces\"}, {\"source_alias\": \"Chèque\"}, {\"source_alias\": \"Virement bancaire\"}]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction de rechargement"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 270,
 | |
|         "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}]]",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction de ou vers la note d'un club tant que la source reste au dessus de -50 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 271,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier n'importe quel bus du wei"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 272,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"wei\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir tous les bus du wei"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 273,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "busteam"
 | |
|             ],
 | |
|             "query": "{\"bus__wei\": [\"club\"], \"bus__wei__membership_end__gte\": [\"today\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les équipes WEI"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 274,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"bus__wei\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les informations de clubs des bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 275,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"bus__wei\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier les clubs des bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 276,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus__wei\": [\"club\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un⋅e membre à un club de bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 277,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus__wei\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les adhérents d'un club de bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 278,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus__wei\": [\"club\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'adhésion d'un club de bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 279,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{\"noteclub__club__bus__wei\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir la note d'un club de bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 280,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source__noteclub__club__bus__wei\": [\"club\"]}, {\"destination__noteclub__club__bus__wei\": [\"club\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les transactions d'un club de bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 281,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"AND\", [\"OR\", {\"source__noteclub__club__bus__wei\": [\"club\"]}, {\"destination__noteclub__club__bus__wei\": [\"club\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}}, {\"valid\": false}]]",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction d'un club de bus tant que la source reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 282,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"AND\", [\"OR\", {\"source__noteclub__club\": [\"club\"]}, {\"destination__noteclub__club\": [\"club\"]}], [\"OR\", {\"source__balance__gte\": {\"F\": [\"SUB\", [\"MUL\", [\"F\", \"amount\"], [\"F\", \"quantity\"]], 2000]}}, {\"valid\": false}]]",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une transaction d'un WEI tant que la source reste au dessus de -20 €"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 283,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"memberships__club__name\": \"Kfet\", \"memberships__roles__name\": \"Adh\u00e9rent\u22c5e Kfet\", \"memberships__date_start__lte\": [\"today\"], \"memberships__date_end__gte\": [\"today\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir n'importe quel⋅le utilisateur⋅rice qui est adhérent⋅e Kfet"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 284,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"bus\":  [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les informations de club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 285,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "club"
 | |
|             ],
 | |
|             "query": "{\"bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 286,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un⋅e membre au club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 287,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les adhérents du club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 288,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'adhésion au club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 289,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "note"
 | |
|             ],
 | |
|             "query": "{\"noteclub__club__bus\": [\"membership\", \"weimembership\", \"bus\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir la note du club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 290,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "note",
 | |
|                 "transaction"
 | |
|             ],
 | |
|             "query": "[\"OR\", {\"source__noteclub__club__bus\": [\"membership\", \"weimembership\", \"bus\"]}, {\"destination__noteclub__club__bus\": [\"membership\", \"weimembership\", \"bus\"]}]",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les transactions du club de son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 291,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir mon bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 292,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "member",
 | |
|                 "membership"
 | |
|             ],
 | |
|             "query": "{\"club__pk__lte\": 2}",
 | |
|             "type": "add",
 | |
|             "mask": 3,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Faire adhérer BDE ou Kfet"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 293,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"bus\": [\"membership\", \"weimembership\", \"bus\"]}, {\"club\": [\"club\"], \"club__weiclub__membership_end__gte\": [\"today\"]}]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "team",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier l'équipe d'une adhésion WEI à son bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 294,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "[\"AND\", {\"wei__year\": [\"today\", \"year\"], \"wei__membership_start__lte\": [\"today\"], \"wei__membership_end__gte\": [\"today\"]}, {\"deposit_type\": \"check\"}]",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "deposit_given",
 | |
|             "permanent": false,
 | |
|             "description": "Dire si un chèque de caution a été donné"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 295,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weiregistration"
 | |
|             ],
 | |
|             "query": "{\"wei__year\": [\"today\", \"year\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les inscriptions au WEI courant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 296,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "weimembership"
 | |
|             ],
 | |
|             "query": "{\"club__weiclub__year\": [\"today\", \"year\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les adhésions au WEI courant"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 297,
 | |
|         "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": "deposit_type",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier le type de caution de mon inscription WEI tant qu'elle n'est pas validée"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 298,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "wei",
 | |
|                 "bus"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"membership\", \"weimembership\", \"bus\", \"pk\"], \"wei__date_end__gte\": [\"today\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "information_json",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier les informations du bus"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 311,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "family"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir toutes les familles"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 312,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "family"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer une famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 313,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "family"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier n'importe quelle famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 314,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "family"
 | |
|             ],
 | |
|             "query": "{\"pk\": [\"user\", \"family_memberships\", \"family\", \"pk\"]}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier ma famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 315,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "familymembership"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les membres de n'importe quelle famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 316,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "familymembership"
 | |
|             ],
 | |
|             "query": "{\"family\": [\"user\", \"family_memberships\", \"family\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir les membres de ma famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 317,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "familymembership"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un membre à n'importe quelle famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 318,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "familymembership"
 | |
|             ],
 | |
|             "query": "{\"family\": [\"user\", \"family_memberships\", \"family\"]}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Ajouter un membre à ma famille"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 319,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "challenge"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir tous les défis"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 320,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "challenge"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un défi"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 321,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "challenge"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Modifier un défi"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 322,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "challenge"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "delete",
 | |
|             "mask": 2,
 | |
|             "field": "{}",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer un défi"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 323,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "achievement"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "view",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Voir tous les succès"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 324,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "achievement"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "add",
 | |
|             "mask": 2,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Créer un succès"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 325,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "achievement"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "change",
 | |
|             "mask": 1,
 | |
|             "field": "valid",
 | |
|             "permanent": false,
 | |
|             "description": "Valider un succès"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 326,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "family",
 | |
|                 "achievement"
 | |
|             ],
 | |
|             "query": "{}",
 | |
|             "type": "delete",
 | |
|             "mask": 1,
 | |
|             "field": "",
 | |
|             "permanent": false,
 | |
|             "description": "Supprimer un succès"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.permission",
 | |
|         "pk": 330,
 | |
|         "fields": {
 | |
|             "model": [
 | |
|                 "auth",
 | |
|                 "user"
 | |
|             ],
 | |
|             "query": "{\"memberships__club\": [\"club\"]}",
 | |
|             "type": "view",
 | |
|             "mask": 2,
 | |
|             "field": "email",
 | |
|             "permanent": false,
 | |
|             "description": "Voir l'adresse mail des membres de son club"
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 1,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Adh\u00e9rent\u22c5e BDE",
 | |
|             "permissions": [
 | |
|                 1,
 | |
|                 2,
 | |
|                 3,
 | |
|                 4,
 | |
|                 5,
 | |
|                 6,
 | |
|                 7,
 | |
|                 8,
 | |
|                 9,
 | |
|                 10,
 | |
|                 11,
 | |
|                 12,
 | |
|                 13,
 | |
|                 14,
 | |
|                 15,
 | |
|                 16,
 | |
|                 17,
 | |
|                 22,
 | |
|                 34,
 | |
|                 48,
 | |
|                 52,
 | |
|                 126,
 | |
|                 161,
 | |
|                 162,
 | |
|                 165,
 | |
|                 179,
 | |
|                 186,
 | |
|                 187,
 | |
|                 188,
 | |
|                 189,
 | |
|                 190,
 | |
|                 191,
 | |
|                 195,
 | |
|                 196,
 | |
|                 198,
 | |
|                 199,
 | |
|                 200,
 | |
|                 201,
 | |
|                 202,
 | |
|                 203,
 | |
|                 204,
 | |
|                 205,
 | |
|                 206,
 | |
|                 248,
 | |
|                 249,
 | |
|                 255,
 | |
|                 256,
 | |
|                 257,
 | |
|                 311,
 | |
|                 316,
 | |
|                 319,
 | |
|                 323
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 2,
 | |
|         "fields": {
 | |
|             "for_club": 2,
 | |
|             "name": "Adh\u00e9rent\u22c5e Kfet",
 | |
|             "permissions": [
 | |
|                 22,
 | |
|                 36,
 | |
|                 39,
 | |
|                 40,
 | |
|                 78,
 | |
|                 79,
 | |
|                 83,
 | |
|                 87,
 | |
|                 90,
 | |
|                 93,
 | |
|                 95,
 | |
|                 97,
 | |
|                 99,
 | |
|                 101,
 | |
|                 108,
 | |
|                 109,
 | |
|                 129,
 | |
|                 131,
 | |
|                 144,
 | |
|                 152,
 | |
|                 153,
 | |
|                 154,
 | |
|                 155,
 | |
|                 156,
 | |
|                 157,
 | |
|                 158,
 | |
|                 159,
 | |
|                 160,
 | |
|                 212,
 | |
|                 222,
 | |
|                 297
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 3,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Membre de club",
 | |
|             "permissions": [
 | |
|                 1,
 | |
|                 2,
 | |
|                 3,
 | |
|                 4,
 | |
|                 5,
 | |
|                 7,
 | |
|                 8,
 | |
|                 9,
 | |
|                 10,
 | |
|                 11,
 | |
|                 12,
 | |
|                 13,
 | |
|                 14,
 | |
|                 22,
 | |
|                 48
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 4,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Bureau de club",
 | |
|             "permissions": [
 | |
|                 47,
 | |
|                 49,
 | |
|                 50,
 | |
|                 141,
 | |
|                 169,
 | |
|                 217,
 | |
|                 218,
 | |
|                 219,
 | |
|                 220,
 | |
|                 221,
 | |
|                 247,
 | |
|                 258,
 | |
|                 259,
 | |
|                 260,
 | |
|                 263,
 | |
|                 265,
 | |
|                 330
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 5,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Pr\u00e9sident\u22c5e de club",
 | |
|             "permissions": [
 | |
|                 62,
 | |
|                 142
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 6,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Tr\u00e9sorièr\u22c5e de club",
 | |
|             "permissions": [
 | |
|                 6,
 | |
|                 19,
 | |
|                 20,
 | |
|                 21,
 | |
|                 27,
 | |
|                 59,
 | |
|                 60,
 | |
|                 61,
 | |
|                 62,
 | |
|                 127,
 | |
|                 133,
 | |
|                 142,
 | |
|                 182,
 | |
|                 184,
 | |
|                 185,
 | |
|                 239,
 | |
|                 240,
 | |
|                 241
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 7,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Pr\u00e9sident\u22c5e BDE",
 | |
|             "permissions": [
 | |
|                 24,
 | |
|                 25,
 | |
|                 26,
 | |
|                 27,
 | |
|                 30,
 | |
|                 41,
 | |
|                 42,
 | |
|                 63,
 | |
|                 66,
 | |
|                 135,
 | |
|                 136,
 | |
|                 137,
 | |
|                 150,
 | |
|                 163,
 | |
|                 164,
 | |
|                 166,
 | |
|                 167,
 | |
|                 168,
 | |
|                 172
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 8,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Tr\u00e9sorièr\u22c5e BDE",
 | |
|             "permissions": [
 | |
|                 23,
 | |
|                 24,
 | |
|                 25,
 | |
|                 26,
 | |
|                 27,
 | |
|                 28,
 | |
|                 29,
 | |
|                 30,
 | |
|                 31,
 | |
|                 32,
 | |
|                 33,
 | |
|                 37,
 | |
|                 38,
 | |
|                 41,
 | |
|                 42,
 | |
|                 43,
 | |
|                 51,
 | |
|                 53,
 | |
|                 54,
 | |
|                 55,
 | |
|                 56,
 | |
|                 57,
 | |
|                 58,
 | |
|                 63,
 | |
|                 64,
 | |
|                 65,
 | |
|                 66,
 | |
|                 67,
 | |
|                 68,
 | |
|                 69,
 | |
|                 70,
 | |
|                 71,
 | |
|                 72,
 | |
|                 73,
 | |
|                 132,
 | |
|                 134,
 | |
|                 135,
 | |
|                 136,
 | |
|                 137,
 | |
|                 138,
 | |
|                 139,
 | |
|                 140,
 | |
|                 143,
 | |
|                 146,
 | |
|                 147,
 | |
|                 148,
 | |
|                 149,
 | |
|                 150,
 | |
|                 151,
 | |
|                 163,
 | |
|                 164,
 | |
|                 172,
 | |
|                 173,
 | |
|                 174,
 | |
|                 175,
 | |
|                 176,
 | |
|                 177,
 | |
|                 178,
 | |
|                 183,
 | |
|                 294,
 | |
|                 295,
 | |
|                 296
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 9,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Respo info",
 | |
|             "permissions": []
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 10,
 | |
|         "fields": {
 | |
|             "for_club": 2,
 | |
|             "name": "GC Kfet",
 | |
|             "permissions": [
 | |
|                 23,
 | |
|                 24,
 | |
|                 25,
 | |
|                 26,
 | |
|                 27,
 | |
|                 28,
 | |
|                 29,
 | |
|                 30,
 | |
|                 31,
 | |
|                 32,
 | |
|                 37,
 | |
|                 38,
 | |
|                 41,
 | |
|                 43,
 | |
|                 148,
 | |
|                 149,
 | |
|                 166,
 | |
|                 167,
 | |
|                 168,
 | |
|                 182
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 11,
 | |
|         "fields": {
 | |
|             "for_club": 2,
 | |
|             "name": "Res[pot]",
 | |
|             "permissions": [
 | |
|                 19,
 | |
|                 25,
 | |
|                 26,
 | |
|                 37,
 | |
|                 38,
 | |
|                 41,
 | |
|                 42,
 | |
|                 43,
 | |
|                 44,
 | |
|                 45,
 | |
|                 46,
 | |
|                 148,
 | |
|                 149,
 | |
|                 182,
 | |
|                 207,
 | |
|                 208,
 | |
|                 209,
 | |
|                 210
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 12,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "GC WEI",
 | |
|             "permissions": [
 | |
|                 22,
 | |
|                 49,
 | |
|                 62,
 | |
|                 70,
 | |
|                 72,
 | |
|                 76,
 | |
|                 85,
 | |
|                 86,
 | |
|                 88,
 | |
|                 89,
 | |
|                 91,
 | |
|                 92,
 | |
|                 94,
 | |
|                 96,
 | |
|                 98,
 | |
|                 100,
 | |
|                 102,
 | |
|                 103,
 | |
|                 104,
 | |
|                 105,
 | |
|                 106,
 | |
|                 107,
 | |
|                 110,
 | |
|                 111,
 | |
|                 112,
 | |
|                 113,
 | |
|                 128,
 | |
|                 130,
 | |
|                 142,
 | |
|                 269,
 | |
|                 271,
 | |
|                 272,
 | |
|                 273,
 | |
|                 274,
 | |
|                 275,
 | |
|                 276,
 | |
|                 277,
 | |
|                 278,
 | |
|                 279,
 | |
|                 280,
 | |
|                 281,
 | |
|                 282,
 | |
|                 283,
 | |
|                 292
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 13,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Chef\u22c5fe de bus",
 | |
|             "permissions": [
 | |
|                 22,
 | |
|                 115,
 | |
|                 117,
 | |
|                 118,
 | |
|                 119,
 | |
|                 120,
 | |
|                 121,
 | |
|                 122,
 | |
|                 284,
 | |
|                 285,
 | |
|                 286,
 | |
|                 287,
 | |
|                 289,
 | |
|                 290,
 | |
|                 291,
 | |
|                 293,
 | |
|                 298
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 14,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Chef\u22c5fe d'\u00e9quipe",
 | |
|             "permissions": [
 | |
|                 22,
 | |
|                 116,
 | |
|                 123,
 | |
|                 124,
 | |
|                 125
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 15,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "\u00c9lectron libre",
 | |
|             "permissions": [
 | |
|                 22
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 17,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "1A",
 | |
|             "permissions": []
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 18,
 | |
|         "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Adhérent\u22c5e WEI",
 | |
|             "permissions": [
 | |
|                 77,
 | |
|                 114
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 19,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Secrétaire BDE",
 | |
|             "permissions": [
 | |
|                 37,
 | |
|                 41,
 | |
|                 42,
 | |
|                 53,
 | |
|                 54,
 | |
|                 55,
 | |
|                 56,
 | |
|                 57,
 | |
|                 58,
 | |
|                 135,
 | |
|                 136,
 | |
|                 137,
 | |
|                 138,
 | |
|                 139,
 | |
|                 140,
 | |
|                 143,
 | |
|                 145,
 | |
|                 146,
 | |
|                 147,
 | |
|                 148,
 | |
|                 149,
 | |
|                 150,
 | |
|                 176,
 | |
|                 177,
 | |
|                 180,
 | |
|                 181,
 | |
|                 183
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 20,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "PC Kfet",
 | |
|             "permissions": [
 | |
|                 6,
 | |
|                 24,
 | |
|                 25,
 | |
|                 27,
 | |
|                 30,
 | |
|                 34,
 | |
|                 49,
 | |
|                 50,
 | |
|                 135,
 | |
|                 137,
 | |
|                 147,
 | |
|                 150,
 | |
|                 166,
 | |
|                 167,
 | |
|                 168,
 | |
|                 176,
 | |
|                 177,
 | |
|                 197,
 | |
|                 311,
 | |
|                 319
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 21,
 | |
|         "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "GC anti-VSS",
 | |
|             "permissions": [
 | |
|                 42,
 | |
|                 135,
 | |
|                 150,
 | |
|                 163,
 | |
|                 164
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 22,
 | |
|             "fields": {
 | |
|             "for_club": 2,
 | |
|             "name": "Respo Bouffe",
 | |
|             "permissions": [
 | |
|                 137,
 | |
|                 211,
 | |
|                 212,
 | |
|                 213,
 | |
|                 214,
 | |
|                 215,
 | |
|                 216
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 23,
 | |
|             "fields": {
 | |
|             "for_club": 2,
 | |
|             "name": "Darbonne",
 | |
|             "permissions": [
 | |
|                 30,
 | |
|                 31,
 | |
|                 32
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 24,
 | |
|             "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Staffeur⋅euse (S&L,Respo Tech,...)",
 | |
|             "permissions": []
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 25,
 | |
|             "fields": {
 | |
|             "for_club": null,
 | |
|             "name": "Référent⋅e Bus",
 | |
|             "permissions": [
 | |
|                 22,
 | |
|                 115,
 | |
|                 117,
 | |
|                 118,
 | |
|                 119,
 | |
|                 120,
 | |
|                 121,
 | |
|                 122,
 | |
|                 284,
 | |
|                 285,
 | |
|                 286,
 | |
|                 287,
 | |
|                 289,
 | |
|                 290,
 | |
|                 291,
 | |
|                 293,
 | |
|                 298
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 28,
 | |
|             "fields": {
 | |
|             "for_club": 10,
 | |
|             "name": "Trésorièr⸱e BDA",
 | |
|             "permissions": [
 | |
|                 55,
 | |
|                 56,
 | |
|                 57,
 | |
|                 58,
 | |
|                 135,
 | |
|                 143,
 | |
|                 176,
 | |
|                 177,
 | |
|                 178,
 | |
|                 243,
 | |
|                 260,
 | |
|                 261,
 | |
|                 262,
 | |
|                 263,
 | |
|                 264,
 | |
|                 265,
 | |
|                 266,
 | |
|                 267,
 | |
|                 268,
 | |
|                 269
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 30,
 | |
|             "fields": {
 | |
|             "for_club": 10,
 | |
|             "name": "Respo sorties",
 | |
|             "permissions": [
 | |
|                 49,
 | |
|                 62,
 | |
|                 141,
 | |
|                 241,
 | |
|                 242,
 | |
|                 243
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 31,
 | |
|             "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Respo comm",
 | |
|             "permissions": [
 | |
|                 135,
 | |
|                 244
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 32,
 | |
|             "fields": {
 | |
|             "for_club": 10,
 | |
|             "name": "Respo comm Art",
 | |
|             "permissions": [
 | |
|                 135,
 | |
|                 245
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 33,
 | |
|             "fields": {
 | |
|             "for_club": 10,
 | |
|             "name": "Respo Jam",
 | |
|             "permissions": [
 | |
|                 247,
 | |
|                 250,
 | |
|                 251,
 | |
|                 252,
 | |
|                 253,
 | |
|                 254
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 34,
 | |
|             "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Chef·fe de famille",
 | |
|             "permissions": [
 | |
|                 314,
 | |
|                 318,
 | |
|                 324
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "model": "permission.role",
 | |
|         "pk": 35,
 | |
|             "fields": {
 | |
|             "for_club": 1,
 | |
|             "name": "Respo familles",
 | |
|             "permissions": [
 | |
|                 312,
 | |
|                 313,
 | |
|                 315,
 | |
|                 317,
 | |
|                 320,
 | |
|                 321,
 | |
|                 322,
 | |
|                 324,
 | |
|                 325,
 | |
|                 326
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     {
 | |
|         "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": 17,
 | |
|         "fields": {}
 | |
|     },
 | |
|     {
 | |
|         "model": "wei.weirole",
 | |
|         "pk": 18,
 | |
|         "fields": {}
 | |
|     },
 | |
|     {
 | |
|         "model": "wei.weirole",
 | |
|         "pk": 24,
 | |
|         "fields": {}
 | |
|     },
 | |
|     {
 | |
|         "model": "wei.weirole",
 | |
|         "pk": 25,
 | |
|         "fields": {}
 | |
|     }
 | |
| ]
 |