Adjusted models

- Added new permissions poll.can_manage
- Reorder permissions.yml alphabetically
- provide some more default values
This commit is contained in:
Finn Stutzenstein 2021-03-01 11:41:25 +01:00
parent 36125dadc5
commit f5529f5eb3
No known key found for this signature in database
GPG Key ID: 9042F605C6324654
4 changed files with 41 additions and 19 deletions

View File

@ -346,6 +346,7 @@
"meeting.can_see_frontpage",
"meeting.can_see_history",
"motion.can_manage",
"poll.can_manage",
"projector.can_manage",
"tag.can_manage",
"user.can_manage",

View File

@ -482,6 +482,7 @@
"meeting.can_see_frontpage",
"meeting.can_see_history",
"motion.can_manage",
"poll.can_manage",
"projector.can_manage",
"tag.can_manage",
"user.can_manage",

View File

@ -904,6 +904,7 @@ group:
- motion.can_see
- motion.can_see_internal
- motion.can_support
- poll.can_manage
- projector.can_manage
- projector.can_see
- tag.can_manage
@ -1443,8 +1444,12 @@ motion_block:
motion_change_recommendation:
id: number
rejected: boolean
internal: boolean
rejected:
type: boolean
default: false
internal:
type: boolean
default: false
type:
type: string
enum:
@ -1498,11 +1503,22 @@ motion_state:
- motion.can_manage_metadata
- motion.can_manage
- is_submitter
allow_support: boolean
allow_create_poll: boolean
allow_submitter_edit: boolean
set_number: boolean
show_state_extension_field: boolean
default: []
allow_support:
type: boolean
default: false
allow_create_poll:
type: boolean
default: false
allow_submitter_edit:
type: boolean
default: false
set_number:
type: boolean
default: true
show_state_extension_field:
type: boolean
default: false
merge_amendment_into_final:
type: string
enum:
@ -1510,7 +1526,9 @@ motion_state:
- undefined
- do_merge
default: undefined
show_recommendation_extension_field: boolean
show_recommendation_extension_field:
type: boolean
default: false
next_state_ids:
type: relation-list

View File

@ -10,11 +10,20 @@ agenda_item:
can_manage:
can_see_internal:
can_see:
assignment:
can_manage:
can_nominate_other:
can_see:
can_nominate_self:
can_see:
list_of_speakers:
can_manage:
can_see:
can_be_speaker:
can_see:
mediafile:
can_manage:
can_see:
meeting:
can_manage_settings:
can_manage_logos_and_fonts:
@ -22,11 +31,6 @@ meeting:
can_see_autopilot:
can_see_livestream:
can_see_history:
projector:
can_manage:
can_see:
tag:
can_manage:
motion:
can_manage:
can_manage_metadata:
@ -41,15 +45,13 @@ motion:
can_see:
can_support:
can_see:
assignment:
poll:
can_manage:
can_nominate_other:
can_see:
can_nominate_self:
can_see:
mediafile:
projector:
can_manage:
can_see:
tag:
can_manage:
user:
can_manage:
can_see_extra_data: