As currently implemented, an user with access to 'view all orders' can add order comments, admin comments, and change the order status.

In the event your store has users on the management side that should only have access to view orders but not change their status, there does not appear to be a good way to implement that ability.

The attached patch adds additional permissions for:

  • Add Admin Comment
  • Update Order Status
  • Send Email on update

In this manner, you can configure roles that can access all orders, and add regular order comments, but must have specific permissions to add an order comment, change an order status, or generate an email for any changes made.

CommentFileSizeAuthor
order_perms.patch2.37 KBwillvincent
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

excell’s picture

Hi, I am trying to set limited access to view orders and find when I give the "view all orders" permission the people can change status, add notes & view payments etc. Would this patch help me to do what the permission implies - enable people to view orders ONLY?

TR’s picture

Version: 6.x-2.2 » 7.x-3.x-dev

New features should go into 7.x-3.x first.

SilviuChingaru’s picture

Issue summary: View changes
longwave’s picture

Status: Active » Fixed

I am not sure we need more permissions in core, and UC Order Access seems to fit the bill in contrib.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.