Download & Extend

Permissions issue with Views Megarow quick edit functionality.

Project:Commerce Backoffice
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

The Views Megarow requires granting the administer commerce_product entities permission. This is too much for most users. It should be able to handle the more fine grained per product type permissions to enable editing of those product types that users do actually have the permission to edit.

Comments

#1

Status:active» needs work

This is not really the right approach, as it opens up the ability to edit a product based on wether the user has the permission to edit the display node. But, in our simple use case, users that have access to edit the display do also have permission to edit the linked products. So, I attach this patch for those that might have a similar setup.

Ultimately, this needs to be made more intelligent so that it is the per-product type edit permission that is checked.

AttachmentSize
1911958-commerce_backoffice-node_access-permission.patch 624 bytes
nobody click here