#42 add support for is_authorized hook

This commit is contained in:
Alok Saldanha
2021-11-14 17:28:10 -05:00
parent 620181ae4d
commit 551cb46af8
5 changed files with 17 additions and 2 deletions
@@ -113,6 +113,9 @@ class S3ItemSource(ItemSource):
def update(self, item: S3Item) -> None:
pass
def is_authorized(self, descriptor):
return True
def lookup_item(self, descriptor):
full_path = self.url(descriptor)
if self.is_h5ad_url(full_path):