ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

Forums OroCRM OroCRM – Installation/Technical Issues or Problems Access denied trying to download email attachments

This topic contains 2 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 1 year, 4 months ago.

  • Creator
    Topic
  • #56187

    kirank
    Participant

    A new role was created by cloning administrator role. Email attachment access was working fine. In that role, we removed all edit/delete access to business units, organizations users and password management. Email attachement download for that user with role stopped working (forbidden). We set all access back but still attachments were giving forbidden. Admin user can access the email attachments.

    We cleared cache many times and deleted cache folder. Still no access. We got further debug info:

    Modified code at DoctrineParamConverter:59:

    Can you please help to indicate what might be the issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #56188

    kirank
    Participant

    Updates:

    1. If the user has a built in role such as “Sales Manager” and the newly created Role then access is granted according to permissions set in the new role.

    2. It seems like attaching atleast one built in role is a requirement? If so, why is clone role not working?

    #56189
    Mike Kudelya
    Mike Kudelya
    Moderator

    Hi,

    I have tested your case, really clone doesn’t work. As workaround i suppose add to EmailBody entity @Config
    annotation

    and run this command

    after that edit your cloned role and set to EmailBody entity global permissions.


Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

ssossossosso