Skip to content

Commit

Permalink
Merge pull request #1285 from girder/internal-metadata-auth
Browse files Browse the repository at this point in the history
Internal metadata get endpoint is now public
  • Loading branch information
manthey authored Aug 31, 2023
2 parents d9476ef + 9d399d1 commit 2c32f34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 1.23.7

### Changes
- Internal metadata get endpoint is now public ([#1285](../../pull/1285))

## 1.23.6

### Improvements
Expand Down
2 changes: 1 addition & 1 deletion girder/girder_large_image/rest/item_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __init__(self, apiRoot):
.errorResponse('ID was invalid.')
.errorResponse('Read access was denied for the item.', 403),
)
@access.user(scope=TokenScope.DATA_READ)
@access.public()
@loadmodel(model='item', map={'itemId': 'item'}, level=AccessType.READ)
def getMetadataKey(self, item, key, params):
if key not in item:
Expand Down

0 comments on commit 2c32f34

Please sign in to comment.