Fix permissions to let treasurers to make some initial registrations

This commit is contained in:
Yohann D'ANELLO 2020-09-07 23:36:50 +02:00
parent fa3c723140
commit 428de69d93
1 changed files with 43 additions and 4 deletions

View File

@ -1103,7 +1103,7 @@
"treasury", "treasury",
"sogecredit" "sogecredit"
], ],
"query": "{\"credit_transaction\": null}", "query": "{}",
"type": "add", "type": "add",
"mask": 1, "mask": 1,
"field": "", "field": "",
@ -2647,6 +2647,38 @@
"description": "Changer l'image de la note de son club" "description": "Changer l'image de la note de son club"
} }
}, },
{
"model": "permission.permission",
"pk": 170,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__is_active\": true}",
"type": "add",
"mask": 1,
"field": "",
"permanent": false,
"description": "Ajouter n'importe quel alias à une note non bloquée"
}
},
{
"model": "permission.permission",
"pk": 171,
"fields": {
"model": [
"note",
"alias"
],
"query": "{\"note__is_active\": true}",
"type": "delete",
"mask": 3,
"field": "",
"permanent": false,
"description": "Supprimer n'importe quel alias à une note non bloquée"
}
},
{ {
"model": "permission.role", "model": "permission.role",
"pk": 1, "pk": 1,
@ -2850,7 +2882,9 @@
150, 150,
151, 151,
163, 163,
164 164,
170,
171
] ]
} }
}, },
@ -3024,7 +3058,9 @@
166, 166,
167, 167,
168, 168,
169 169,
170,
171
] ]
} }
}, },
@ -3050,10 +3086,13 @@
29, 29,
30, 30,
31, 31,
70,
143, 143,
166, 166,
167, 167,
168 168,
170,
171
] ]
} }
}, },