OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 7 years, 5 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #27347

    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
  • #27348

    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?

    #27349

    Mike Kudelya
    Participant

    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)

The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.

Back to top