Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Other
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
6 Oct 2016 at 17:08 UTC
Updated:
24 Oct 2016 at 14:44 UTC
Jump to comment: Most recent
1) The admin views for stores and products need to use the "access $entity_type overview", not "administer $entity_type". This was already fixed for orders and carts.
2) Config entity types should not get an "overview permission".
3) Adding a product as an authenticated user with a "create own" permission doesn't allow variation creation. Same with order items. We need to create access control handlers for variations and order items that always return TRUE, thus relying on the parent access control (since these entities can't exist without the parent).
Comments
Comment #2
bojanz commentedExpanding scope
Comment #3
bojanz commentedComment #4
bojanz commentedThe commit is becoming big, spinning off the product unpublished permission.
Comment #6
bojanz commentedCommitted.