From d413f04585a5f7003e92a842f99dd285b3276306 Mon Sep 17 00:00:00 2001 From: Ralf Peschke Date: Thu, 18 Feb 2021 11:06:20 +0100 Subject: [PATCH] Proposal for permissions in initial-data.json --- docker/initial-data.json | 54 ++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/docker/initial-data.json b/docker/initial-data.json index 4c70f899b..abaa7be57 100644 --- a/docker/initial-data.json +++ b/docker/initial-data.json @@ -258,14 +258,17 @@ "id": 1, "name": "Default", "permissions": [ - "agenda_item.can_see", - "agenda_item.can_see_internals", + "agenda_item.can_see_internal", "assignment.can_see", "meeting.can_see_frontpage", "projector.can_see", "mediafile.can_see", "motion.can_see", - "user.can_see" + "user.can_see", + + # Missing compared with os3 and existing permissions in models.yml + "list_of_speakers.can_see", + "user.can_change_own_password", ], "user_ids": [], @@ -304,25 +307,20 @@ "name": "Staff", "permissions": [ "agenda_item.can_manage", - "agenda_item.can_see", - "agenda_item.can_see_internals", - "agenda_item.can_be_speaker", + "list_of_speakers.can_be_speaker", "assignment.can_manage", - "assignment.can_nominate_other", "assignment.can_nominate_self", - "assignment.can_see", "projector.can_manage", "meeting.can_see_frontpage", - "projector.can_see", "tag.can_manage", "mediafile.can_manage", - "mediafile.can_see", - "motion.can_create", "motion.can_manage", - "motion.can_see", "user.can_manage", - "user.can_see_extra_data", - "user.can_see" + + # Missing compared with os3 and existing permissions in models.yml + "list_of_speakers.can_manage", + "meeting.can_see_history", + "user.can_change_own_password", ], "user_ids": [], @@ -342,16 +340,19 @@ "id": 4, "name": "Committees", "permissions": [ - "agenda_item.can_see", - "agenda_item.can_see_internals", + "agenda_item.can_see_internal", "assignment.can_see", "meeting.can_see_frontpage", "projector.can_see", "mediafile.can_see", "motion.can_create", - "motion.can_see", "motion.can_support", - "users.can_see" + "user.can_see" + # Missing permissions compared with os3 and existing permissions in models.yml + "list_of_speakers.can_see", + "motion.can_create_amendments", + "user.can_see_extra_data", + "user.can_change_own_password", ], "user_ids": [], @@ -371,20 +372,25 @@ "id": 5, "name": "Delegates", "permissions": [ - "agenda_item.can_see", - "agenda_item.can_see_internals", - "agenda_item.can_be_speaker", + "agenda_item.can_see_internal", + "list_of_speakers.can_be_speaker", "assignment.can_nominate_other", "assignment.can_nominate_self", - "assignment.can_see", "meeting.can_see_frontpage", "projector.can_see", "mediafile.can_see", - "motion.can_create", "motion.can_manage", - "motion.can_see", "motion.can_support", "user.can_see" + # Missing compared with os3 and existing permissions in models.yml + "user.can_change_own_password", + "meeting.can_see_autopilot", + + # to discuss: OS3 permissions transferred to Os4 results for motion in following permissions: + "motion.can_create", + "motion.can_create_amendments", + "motion.can_support", + ], "user_ids": [],