Merge pull request #5836 from normanjaeckel/ChangeModelsYml

Added permissions to models.yml
This commit is contained in:
Finn Stutzenstein 2021-02-02 08:06:37 +01:00 committed by GitHub
commit 4107bbac80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -861,7 +861,44 @@ group:
name:
type: string
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:
type: relation-list