diff --git a/bento_lib/auth/permissions.py b/bento_lib/auth/permissions.py index dfc072b..2176a76 100644 --- a/bento_lib/auth/permissions.py +++ b/bento_lib/auth/permissions.py @@ -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,)) # --- diff --git a/pyproject.toml b/pyproject.toml index 04c6e28..81f6b62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ",