Closed nleroy917 closed 1 year ago
This was a problem in previous pepdbagent. I was aware about it. But since we were using two different function to get this information I didn't know where I should change it. We won't have this issue in new pepdbagent
Overview
If you are unauthenticated and attempt to fetch information about a particular namespace, the
number_of_samples
andnumber_of_projects
information still includes counts fromprivate
projects.An example:
I have one project with two samples. And it is private. Authenticated, I see this. Which is correct:
Unauthenticated I see this. This is incorrect. It should appear that there are no projects or samples to an unauthenticated user:
Expected behavior
I would expect there to be no projects or samples since they are private.