From c8665c5798a067de6c0ac89d23b071c0bdeb36da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Le=20Moigne?= Date: Mon, 20 Mar 2023 22:21:18 +0100 Subject: [PATCH] change permissions for role --- apps/permission/fixtures/initial.json | 100 ++++++++++++-------------- 1 file changed, 44 insertions(+), 56 deletions(-) diff --git a/apps/permission/fixtures/initial.json b/apps/permission/fixtures/initial.json index d632ac91..9b0d6810 100644 --- a/apps/permission/fixtures/initial.json +++ b/apps/permission/fixtures/initial.json @@ -2276,7 +2276,7 @@ "mask": 3, "field": "", "permanent": false, - "description": "Voir tous les adhérents du club" + "description": "Voir tous les adhérents de tous les clubs" } }, { @@ -2564,7 +2564,7 @@ "mask": 3, "field": "inactivity_reason", "permanent": false, - "description": "(Dé)bloquer sa propre note et modifier la raison" + "description": "(Dé)bloquer n'importe quelle note et indiquer la raison" } }, { @@ -3133,7 +3133,6 @@ 36, 39, 40, - 70, 78, 79, 83, @@ -3158,9 +3157,7 @@ 158, 159, 160, - 179, - 189, - 190 + 179 ] } }, @@ -3197,9 +3194,7 @@ "for_club": null, "name": "Pr\u00e9sident\u00b7e de club", "permissions": [ - 50, 62, - 141, 142 ] } @@ -3221,13 +3216,7 @@ 62, 127, 133, - 136, - 141, 142, - 150, - 166, - 167, - 168, 182, 184, 185 @@ -3246,7 +3235,16 @@ 26, 27, 30, - 33 + 33, + 41, + 42, + 63, + 66, + 135, + 136, + 137, + 150, + 172 ] } }, @@ -3268,6 +3266,10 @@ 31, 32, 33, + 37, + 38, + 41, + 42, 43, 51, 53, @@ -3283,6 +3285,7 @@ 67, 68, 69, + 70, 71, 72, 73, @@ -3297,12 +3300,12 @@ 143, 146, 147, + 148, + 149, 150, 151, 163, 164, - 170, - 171, 172, 173, 174, @@ -3310,10 +3313,7 @@ 176, 177, 178, - 188, - 183, - 186, - 187 + 183 ] } }, @@ -3535,25 +3535,15 @@ 30, 31, 32, - 52, - 55, - 56, - 57, - 58, - 70, - 72, - 143, + 37, + 38, + 41, + 43, + 148, + 149, 166, 167, 168, - 170, - 171, - 176, - 177, - 178, - 179, - 180, - 181, 182 ] } @@ -3565,6 +3555,8 @@ "for_club": 2, "name": "Res[pot]", "permissions": [ + 25, + 26, 37, 38, 41, @@ -3587,6 +3579,8 @@ "name": "GC WEI", "permissions": [ 22, + 70, + 72, 76, 85, 86, @@ -3608,8 +3602,8 @@ 111, 112, 113, + 128, 130, - 131 ] } }, @@ -3625,6 +3619,7 @@ 115 117, 118, + 119, 120, 121, 122, @@ -3688,18 +3683,7 @@ "name": "Adhérent WEI", "permissions": [ 77, - 87, - 90, - 93, - 95, - 97, - 99, - 101, - 108, - 109, 114, - 128, - 130 ] } }, @@ -3710,6 +3694,9 @@ "for_club": 1, "name": "Secrétaire BDE", "permissions": [ + 37, + 41, + 53, 54, 55, 56, @@ -3718,15 +3705,21 @@ 135, 136, 137, + 138, 139, 140, 143, 145, 146, 147, + 148, + 149, 150, 176, - 177 + 177, + 180, + 181, + 183 ] } }, @@ -3738,20 +3731,17 @@ "name": "PC Kfet", "permissions": [ 6, - 22, 24, 25, 26, 27, 30, + 34, 49, 50, 55, 56, - 57, - 58, 70, - 72, 135, 137, 143, @@ -3762,8 +3752,6 @@ 168, 176, 177, - 180, - 181 ] } },