Skip to content

Commit

Permalink
Adding resource permission check for get organization
Browse files Browse the repository at this point in the history
  • Loading branch information
dbalintx committed Jan 23, 2024
1 parent ce47396 commit 2a5e1ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def update_organization(uri, data):
return organization

@staticmethod
# TODO: resource permission check for permissions.GET_ORGANIZATION ?
@has_resource_permission(permissions.GET_ORGANIZATION)
def get_organization(uri):
context = get_context()
with context.db_engine.scoped_session() as session:
Expand Down

0 comments on commit 2a5e1ff

Please sign in to comment.