Added permissions to models.yml

This commit is contained in:
Norman Jäckel 2021-01-30 13:29:52 +01:00
parent 7502569211
commit 41956313b5

View File

@ -861,7 +861,44 @@ group:
name: name:
type: string type: string
required: true required: true
permissions: string[] permissions:
type: string[]
items:
enum:
- agenda_item.can_manage
- agenda_item.can_see
- agenda_item.can_see_internal
- assignment.can_manage
- assignment.can_nominate_other
- assignment.can_nominate_self
- assignment.can_see
- list_of_speakers.can_be_speaker
- list_of_speakers.can_manage
- list_of_speakers.can_see
- mediafile.can_manage
- mediafile.can_see
- meeting.can_manage_logos_and_fonts
- meeting.can_manage_settings
- meeting.can_see_autopilot
- meeting.can_see_frontpage
- meeting.can_see_history
- meeting.can_see_livestream
- motion.can_create
- motion.can_create_amendments
- motion.can_manage
- motion.can_manage_metadata
- motion.can_manage_polls
- motion.can_see
- motion.can_see_internal
- motion.can_support
- projector.can_manage
- projector.can_see
- tag.can_manage
- user.can_change_own_password
- user.can_manage
- user.can_see
- user.can_see_extra_data
user_ids: user_ids:
type: relation-list type: relation-list