handle edge case of no accessible projects
the service currently errors with http 500 when the user/role linked to the used SID has no private projects in the tgrep service instance or the SID is invalid
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01//EN' 'http://www.w3.org/TR/html4/strict.dtd'>
<html><head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
<title>500 Internal Server Error</title>
</head><body>
<h1>500 Internal Server Error</h1>
<p>500 Internal Server Error: An internal server error occurred
Source exception: ''NoneType' object is not iterable'</p>
<hr/>
<a href='https://github.com/mar10/wsgidav/'>WsgiDAV/4.0.1</a> - 2022-02-28 08:47:15.107105
</body></html>
possible solutions:
- [-] return empty list
- [+] raise matching DavError
Edited by Stefan Hynek