From 8de7ba14bd0eaf3ca665ce84cfc14e347a3b2c7d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Sun, 2 Aug 2020 09:35:32 +0200 Subject: [PATCH] Add permission for secretaries --- apps/permission/fixtures/initial.json | 38 +++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/apps/permission/fixtures/initial.json b/apps/permission/fixtures/initial.json index 0fd675c3..09bf4675 100644 --- a/apps/permission/fixtures/initial.json +++ b/apps/permission/fixtures/initial.json @@ -2263,6 +2263,22 @@ "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": 1, + "field": "", + "permanent": false, + "description": "Voir toutes les notes de club" + } + }, { "model": "permission.role", "pk": 1, @@ -2760,6 +2776,28 @@ ] } }, + { + "model": "permission.role", + "pk": 19, + "fields": { + "for_club": 1, + "name": "Secrétaire BDE", + "permissions": [ + 54, + 55, + 56, + 57, + 58, + 135, + 136, + 137, + 138, + 139, + 140, + 145 + ] + } + }, { "model": "wei.weirole", "pk": 12,