Under "Delegate my view right" set "true" or "1" or "yes"
Submit then Save & View (Note that the view right is delegated only if the last person that saved the page has had indeed view rights on the page with denied view rights for the simple user)
Access the page with the simple user
Expected results: The simple user can view the PDF in the second page.
Actual results: The user can't see the PDF in the second page. "Error: The file attachment [null] does not exists in document [xwiki:2.WebHome]." appears.
Environment: Windows 11, XWiki 15.10.5 with MySQL 8.3 and Chrome 121, PDF Viewer Macro (Pro) 2.5.3
Issue could be related to the way ticket 49 was fixed
Steps to reproduce:
Expected results: The simple user can view the PDF in the second page.
Actual results: The user can't see the PDF in the second page. "Error: The file attachment [null] does not exists in document [xwiki:2.WebHome]." appears.
Environment: Windows 11, XWiki 15.10.5 with MySQL 8.3 and Chrome 121, PDF Viewer Macro (Pro) 2.5.3