Skip to content

Commit

Permalink
Merged main trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mesemus committed Dec 10, 2024
2 parents ee11a75 + 33da3d8 commit 261121c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class WorkflowRecordPermissionPolicy(RecordPermissionPolicy):
can_read_files = [FromRecordWorkflow("read_files")]
can_update_files = [FromRecordWorkflow("update_files")]
can_delete_files = [FromRecordWorkflow("delete_files")]
can_list_files = [FromRecordWorkflow("list_files")]

can_read_draft = [FromRecordWorkflow("read_draft")]
can_update_draft = [FromRecordWorkflow("update_draft")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def __init__(self, action_name: str | None = None, **over: Any) -> None:
can_draft_create_files = [SameAs("files_edit")]
can_read_files = [SameAs("can_read")]
can_get_content_files = [SameAs("can_read")]
can_list_files = [SameAs("can_read")]

can_read_draft = [SameAs("can_read")]
can_update_draft = [SameAs("can_update")]
Expand Down

0 comments on commit 261121c

Please sign in to comment.