Order Access settings page

This project is not covered by Drupal’s security advisory policy.

Overview
This module allow administrators of an ubercart store to allow access to view / edit / delete / change status of orders only to certain roles and based on current order status.

Features

  • View orders by status and role.
  • (This feature replace 'view all orders' from Ubercart with view orders by status. For example you can now select for "role1" to view only New orders but not Completed ones. Also the user can search only orders that he has view access. Be careful that when you have 'view all orders' selected for that role this function is disabled and the user can see all the orders no matter of order's state.)

  • Edit order by role and status.
  • Delete order by role and status.
  • Change orders status by role and current order status.

Description
This is useful when you are running a store, powered by Ubercart and you have certain users that handle the orders. For example if a group "shipping" only has to put orders in "Processing" or "Shipped" but NOT in "Complete" or "Payment Received" this module allow you to achieve this goal.
If you have a client relationship department, that department can put order in state "Delivered" for example or "Canceled" but NOT in "Shipped".

Now you can set-up what orders are visible to whom.

Installation

  • Install this module normally (like you do with any other module - copy module into your site modules directory and enable it).
  • Go to site permission configuration page and allow Order Access: View orders for roles that should view at least orders from one or more statuses (for example shipped or completed.
  • Go to admin/store/settings/orders/access and configure order permission for each order status and role.
  • Go to any order views you have and change Access from Permission | View all orders to Permission | View orders
  • That should be it, now users can see orders based on order status and user role.

Dependency:
uc_orders

Drupal 6.x: With D8 knocking at the door I no longer intent to release a 6.x version of this module.

Drupal 8.x: I'll start developing a D8 version of this module when an UC 8.x version will be started.

Sponsored by: Magazinul Cu Scule .ro - Visit at www.MagazinulCuScule.ro

Project information

Releases