ssossossosso

Forums

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

This topic contains 2 replies, has 2 voices, and was last updated by Mike Kudelya Mike Kudelya 11 months, 3 weeks ago.

  • Creator
    Topic
  • #22821

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

    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?

    #23108
    Mike Kudelya
    Mike Kudelya
    Oro Core

    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.