When you search by sample, the results are all public if you are not logged in, which is expected behavior. When you search by sample and are logged in, it will also show your own private uploads, which is also good.
However, when you are not logged in, and search by chemistry, it will show every chemistry, public or private. If you click on a private chemistry entry, it will not let you access it due to "Authentication credentials not provided". If you search by chemistry while logged in, you get the same results when searching with chemistry, but you can click on the private uploads and it will be accessible.
Need to figure out why logged off call to /search-chemistry/ returns private and public chemistry.
When you search by sample, the results are all public if you are not logged in, which is expected behavior. When you search by sample and are logged in, it will also show your own private uploads, which is also good.
However, when you are not logged in, and search by chemistry, it will show every chemistry, public or private. If you click on a private chemistry entry, it will not let you access it due to "Authentication credentials not provided". If you search by chemistry while logged in, you get the same results when searching with chemistry, but you can click on the private uploads and it will be accessible.
Need to figure out why logged off call to /search-chemistry/ returns private and public chemistry.