mirror of https://gitlab.com/bashrc2/epicyon
Comments
parent
a5b97f1d92
commit
d14055e304
|
@ -10674,9 +10674,10 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
||||
'show logout', 'isAuthorized')
|
||||
|
||||
if self.path.startswith('/dfc-catalog') or \
|
||||
self.path.startswith('/shareditems') or \
|
||||
self.path.startswith('/catalog'):
|
||||
# shared items catalog for this instance
|
||||
# this is only accessible to instance members or to
|
||||
# other instances which present an authorization token
|
||||
if self.path.startswith('/catalog'):
|
||||
catalogAuthorized = authorized
|
||||
if not catalogAuthorized:
|
||||
# basic auth access to shared items catalog
|
||||
|
|
Loading…
Reference in New Issue