Hi Everyone,
I’m facing an issue with a custom Doctype called PettyCash, where users are required to upload images.
The problem occurs when a user uploads an image, and a senior user (with higher privileges) tries to view it from their account. In such cases, the following error appears:
Forbidden
You don’t have permission to access this file.
Interestingly, this issue happens only with the first entry — all subsequent images can be viewed normally. Also, when accessed from the Administrator account, the image opens without any problem.
Thanks in advance for your help!