Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Meilander 82 posts 408 karma points c-trib
    Apr 12, 2022 @ 18:43
    Kevin Meilander
    0

    Vendr Commerce Section Custom User Permissions

    Is there a way to customize the permissions a user has within the commerce section?

    I need to make a user type that only has read only permissions on the orders in the commerce section.

    I also need to make a user type that only can see a subset of orders (based on a shipping type).

    Has anyone done this before? Is this possible?

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Apr 13, 2022 @ 07:40
    Matt Brailsford
    0

    Hey Kevin,

    It's not possible OOTB as it's basically "you have permissions to see the commerce section or you don't"

    Vendr does expose a number of events though, such as OrderSearchingNotification which would allow you to apply an additional filter to the order list view, and in terms of making things read only, the best I can think is to create your own order edit Angular view and then intercept the OrderEditorConfigParsingNotification event to switch the view depending on permissions.

    Hope this helps

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft