Skip to content

Commit

Permalink
Merge pull request #212 from bento-platform/chore/auth/edit-permissio…
Browse files Browse the repository at this point in the history
…ns-gives-view
  • Loading branch information
davidlougheed authored Jul 18, 2024
2 parents e25dafa + 2394a57 commit db9bca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bento_lib/auth/permissions.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def supports_data_type_narrowing(self) -> bool:

# - can view edit permissions for the resource which granted this permission only:
P_VIEW_PERMISSIONS = Permission(VIEW_VERB, PERMISSIONS_NOUN)
P_EDIT_PERMISSIONS = Permission(EDIT_VERB, PERMISSIONS_NOUN)
P_EDIT_PERMISSIONS = Permission(EDIT_VERB, PERMISSIONS_NOUN, gives=(P_VIEW_PERMISSIONS,))

# ---

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "bento-lib"
version = "11.11.0"
version = "11.11.1"
description = "A set of common utilities and helpers for Bento platform services."
authors = [
"David Lougheed <[email protected]>",
Expand Down

0 comments on commit db9bca7

Please sign in to comment.