403 Forbidden - No access to attachment.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dirk.dinger
    Junior Member
    • Nov 2018
    • 22

    403 Forbidden - No access to attachment.

    I am currently in the process of configuring user roles and permissions of my newly setup espo instance.
    I have a custom entity that has an "icon" image property. For me - the administrator - the icon is visible.
    But if I login with another username that has read access to that entity configured, the "icon" is broken. Getting the image URL returns "403 Forbidden - No access to attachment."
    How can I configure read access to attachments for a specific user role ? I do not see an "attachment" entity in the permissions config.

    Kind regards,
    Dirk
  • victor
    Active Community Member
    • Aug 2022
    • 796

    #2
    Show in the screenshots which icon you are talking about. For what is in Administration > Entity Manager > Edit > Icon did not find any errors for Regular Users.
    Maybe you should provide the necessary Permissions: https://docs.espocrm.com/administrat...n/#permissions for your instance again. Also reproduce the error, having previously enabled Debug mode: https://docs.espocrm.com/administrat...ng/#debug-mode, and send the error log to EspoCRM.

    Comment


    • dirk.dinger
      dirk.dinger commented
      Editing a comment
      I am not talking about any of the built-in icons of the EspoCRM UI. Its an image property of one of my custom entities.
      The unix permissions of the attachments (in this casse the icon images) are ok. The problem must be on the application level since, when i am logged in as an admin user, i can see the icon images but the regular users can not.

      The links that get the 403 error are looking like so: https://espo.example.de/?entryPoint=...8425812ccb249e

    • victor
      victor commented
      Editing a comment
      - Please send a full-screen screenshot of this error.
      - Send the EspoCRM error log after reproducing the error.
Working...