Merge pull request #5679 from jsangmeister/protect-first-state-of-workflow

Protect first_state_of_workflow_id & rename has_inherited_access_group_ids
This commit is contained in:
jsangmeister 2020-11-05 17:40:31 +01:00 committed by GitHub
commit 1fb296038e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1405,6 +1405,7 @@ motion_state:
first_state_of_workflow_id: first_state_of_workflow_id:
type: relation type: relation
to: motion_workflow/first_state_id to: motion_workflow/first_state_id
on_delete: PROTECT
equal_fields: meeting_id equal_fields: meeting_id
meeting_id: meeting_id:
type: relation type: relation
@ -1774,9 +1775,9 @@ mediafile:
mimetype: string mimetype: string
pdf_information: JSON pdf_information: JSON
create_timestamp: timestamp create_timestamp: timestamp
has_inherited_access_groups: is_public:
type: boolean type: boolean
description: Calculated field. description: "Calculated field. inherited_access_group_ids == [] can have two causes: cancelling access groups (=> is_public := false) or no access groups at all (=> is_public := true)"
read_only: true read_only: true
inherited_access_group_ids: inherited_access_group_ids: