ssossossosso

Forums

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

This topic contains 3 replies, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 2 years, 1 month ago.

  • Creator
    Topic
  • #13654

    dave08
    Participant

    Is it possible to allow certain transition buttons to appear only for users with a certain role?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #13664
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    Hello.

    There is an ability to assign some specific ALC resource to transition, so it will be allowed only if this resource is granted for current role (see acl_resource parameter at transition configuration) – this even more flexible than assigning role to transition.

    So, you need to:
    – specify custom ACL resource (see example)
    – assign it to transition (see example)
    – update workflow definition usign oro:workflow:definitions:load command
    – grant resource to required roles

    Alternative solution is to add your custom condition similar to AclGranted and check your specific role there.

    #13674

    dave08
    Participant

    Thank you for your quick reply!

    How can a workflow status be displayed on a datagrid and a filter be made for it?

    #13675
    Yevhen Shyshkin
    Yevhen Shyshkin
    Oro Core

    It’s just a regular relation that added automatically – e.g. Shopping List grid (http://demo.orocrm.com/desktop/magento/cart/), column “Step”.

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

You must be logged in to reply to this topic.