Skip to content

Commit

Permalink
fix permission impl
Browse files Browse the repository at this point in the history
  • Loading branch information
mirekys committed Dec 2, 2021
1 parent 245a869 commit 5e506dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nr_datasets/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def community_read_permission_impl(record, *args, **kwargs):
def files_read_permission_factory(record, *args, **kwargs):
return require_any(
require_all(
community_read_permission_impl,
community_read_permission_impl(record, *args, **kwargs),
access_rights_required([
access_rights_factory(embargoed_slug),
access_rights_factory(restricted_slug)]),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool]
[tool.poetry]
name = "techlib-nr-datasets"
version = "1.1.16"
version = "1.1.17"
description = "Czech National Repository datasets data model."
license = "MIT"
keywords = ["Czech", "Nation", "Repository", "Invenio", "datasets"]
Expand Down

0 comments on commit 5e506dc

Please sign in to comment.