ssossossosso

Forums

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

Open-Source CRM software Forums OroCRM OroCRM – How do I? Questions Error "You do not have permission to perform this action."

This topic contains 5 replies, has 2 voices, and was last updated by Igor Chornobay Igor Chornobay 1 year, 11 months ago.

  • Creator
    Topic
  • #8393
    Igor Chornobay
    Igor Chornobay
    Participant

    Hi.

    When moving old Opportunity to the next step appears error “You do not have permission to perform this action.”
    New Opportunity moving to the next step without errors.

    /var/www/orocrm/app/logs/prod.log

    How to resolve this problem?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #8394
    Igor Chornobay
    Igor Chornobay
    Participant

    “Old Opportunity” that Opportunity was created about month ago.
    “New Opportunity” that Opportunity was created in this moth.
    Current workflow for Opportunity was created before creating all “Old Opportunity”.

    #8395
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Please, check what ACL voter and why tells that action is not allowed.

    Also check where error “Uncaught PHP Exception Doctrine\ORM\EntityNotFoundException: “Entity was not found.”” is coming from.

    #8583
    Igor Chornobay
    Igor Chornobay
    Participant

    I suppose that the problem occurred when changing workflow. How to remove the old workflow item from the opportunity?

    #8589
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    If you need to remove workflow item from only one opportunity (or specific set of it) you can go to table orocrm_sales_opportunity, find required rows, get IDs from field workflow_item_id and remove appropriate rows from table oro_workflow_item.

    If you need to remove workflow items from all opportunitie you can create new workflow for Opportunity and activate it – during activation all workflow items for previous workflows will be removed automatically.

    #8677
    Igor Chornobay
    Igor Chornobay
    Participant

    Thank Yevhen.
    Second solution helped me resolve this issue.

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

You must be logged in to reply to this topic.