OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform Using roles to restrict workflow transitions

This topic contains 3 replies, has 2 voices, and was last updated by Yevhen Shyshkin Yevhen Shyshkin 4 years, 8 months ago.

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

  • Creator
  • #36921


    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
  • #36922
    Yevhen Shyshkin
    Yevhen Shyshkin


    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.



    Thank you for your quick reply!

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

    Yevhen Shyshkin
    Yevhen Shyshkin

    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)

The forum ‘OroPlatform’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No