merge-requests/30/head
Bob Mottram 2021-07-26 19:03:33 +01:00
parent a5b97f1d92
commit d14055e304
1 changed files with 4 additions and 3 deletions

View File

@ -10674,9 +10674,10 @@ class PubServer(BaseHTTPRequestHandler):
self._benchmarkGETtimings(GETstartTime, GETtimings, self._benchmarkGETtimings(GETstartTime, GETtimings,
'show logout', 'isAuthorized') 'show logout', 'isAuthorized')
if self.path.startswith('/dfc-catalog') or \ # shared items catalog for this instance
self.path.startswith('/shareditems') or \ # this is only accessible to instance members or to
self.path.startswith('/catalog'): # other instances which present an authorization token
if self.path.startswith('/catalog'):
catalogAuthorized = authorized catalogAuthorized = authorized
if not catalogAuthorized: if not catalogAuthorized:
# basic auth access to shared items catalog # basic auth access to shared items catalog