1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-30 04:13:01 +00:00

Merge branch 'beta' into 'master'

Fix permissions to let treasurers to make some initial registrations

See merge request bde/nk20!118
This commit is contained in:
ynerant 2020-09-07 23:52:12 +02:00
commit 3191dba31f

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
] ]
} }
}, },