Proposal for permissions in initial-data.json

This commit is contained in:
Ralf Peschke 2021-02-18 11:06:20 +01:00
parent 6e0dcf71df
commit d413f04585

View File

@ -258,14 +258,17 @@
"id": 1, "id": 1,
"name": "Default", "name": "Default",
"permissions": [ "permissions": [
"agenda_item.can_see", "agenda_item.can_see_internal",
"agenda_item.can_see_internals",
"assignment.can_see", "assignment.can_see",
"meeting.can_see_frontpage", "meeting.can_see_frontpage",
"projector.can_see", "projector.can_see",
"mediafile.can_see", "mediafile.can_see",
"motion.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": [], "user_ids": [],
@ -304,25 +307,20 @@
"name": "Staff", "name": "Staff",
"permissions": [ "permissions": [
"agenda_item.can_manage", "agenda_item.can_manage",
"agenda_item.can_see", "list_of_speakers.can_be_speaker",
"agenda_item.can_see_internals",
"agenda_item.can_be_speaker",
"assignment.can_manage", "assignment.can_manage",
"assignment.can_nominate_other",
"assignment.can_nominate_self", "assignment.can_nominate_self",
"assignment.can_see",
"projector.can_manage", "projector.can_manage",
"meeting.can_see_frontpage", "meeting.can_see_frontpage",
"projector.can_see",
"tag.can_manage", "tag.can_manage",
"mediafile.can_manage", "mediafile.can_manage",
"mediafile.can_see",
"motion.can_create",
"motion.can_manage", "motion.can_manage",
"motion.can_see",
"user.can_manage", "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": [], "user_ids": [],
@ -342,16 +340,19 @@
"id": 4, "id": 4,
"name": "Committees", "name": "Committees",
"permissions": [ "permissions": [
"agenda_item.can_see", "agenda_item.can_see_internal",
"agenda_item.can_see_internals",
"assignment.can_see", "assignment.can_see",
"meeting.can_see_frontpage", "meeting.can_see_frontpage",
"projector.can_see", "projector.can_see",
"mediafile.can_see", "mediafile.can_see",
"motion.can_create", "motion.can_create",
"motion.can_see",
"motion.can_support", "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": [], "user_ids": [],
@ -371,20 +372,25 @@
"id": 5, "id": 5,
"name": "Delegates", "name": "Delegates",
"permissions": [ "permissions": [
"agenda_item.can_see", "agenda_item.can_see_internal",
"agenda_item.can_see_internals", "list_of_speakers.can_be_speaker",
"agenda_item.can_be_speaker",
"assignment.can_nominate_other", "assignment.can_nominate_other",
"assignment.can_nominate_self", "assignment.can_nominate_self",
"assignment.can_see",
"meeting.can_see_frontpage", "meeting.can_see_frontpage",
"projector.can_see", "projector.can_see",
"mediafile.can_see", "mediafile.can_see",
"motion.can_create",
"motion.can_manage", "motion.can_manage",
"motion.can_see",
"motion.can_support", "motion.can_support",
"user.can_see" "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": [], "user_ids": [],