Skip to content

Commit be57d3e

Browse files
committed
Add access tags arg to get_document
1 parent 92cff04 commit be57d3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

databroker/server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ async def get_documents(
3434
principal=Depends(get_current_principal),
3535
root_tree=Depends(get_root_tree),
3636
session_state: dict = Depends(get_session_state),
37+
authn_access_tags: Optional[Set[str]] = Depends(get_current_access_tags),
3738
authn_scopes: Scopes = Depends(get_current_scopes),
3839
fill: Optional[bool] = False,
3940
_=Security(check_scopes, scopes=["read:data", "read:metadata"])
@@ -45,6 +46,7 @@ async def get_documents(
4546
path,
4647
["read:data", "read:metadata"],
4748
principal,
49+
authn_access_tags,
4850
authn_scopes,
4951
root_tree,
5052
session_state,

0 commit comments

Comments
 (0)