Skip to content

Commit

Permalink
Merge pull request #24 from oarepo/manage-files-permission
Browse files Browse the repository at this point in the history
can_manage_files permission
  • Loading branch information
mesemus authored Feb 4, 2025
2 parents d69c6e3 + 5523c60 commit facfabf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ def __init__(self, action_name: str | None = None, **over: Any) -> None:
can_read_files = [SameAs("can_read")]
can_get_content_files = [SameAs("can_read")]
can_list_files = [SameAs("can_read")]
can_manage_files = [Disable()]

can_read_draft = [SameAs("can_read")]
can_update_draft = [SameAs("can_update")]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = oarepo-workflows
version = 1.1.6
version = 1.1.7
description =
authors = Ronald Krist <[email protected]>
readme = README.md
Expand Down

0 comments on commit facfabf

Please sign in to comment.