This was noticed in a new kickstart install when using a user without uid = 1.
this path: admin/commerce/products [a view] has an ajax link to
this path: commerce_backoffice/variations/50
which is handled by the commerce_backoffice module. The menu item has access permissions limited to
"administer products", which appears to correspond to an item in the permissions list "Administer products".
But, you get an access denied by anyone but uid = 1, and I can't find anywhere where the 'administer products' permission is actually defined.
Is this actually a bug or something in D7 that I don't understand?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | coperm.diff | 716 bytes | adixon |
Comments
Comment #1
bojanz commentedThat needs to be changed to "administer commerce_product entities", since the "administer products" permission no longer exists.
Comment #2
adixon commentedThank, you that was it. Patch to the 7.x-2 branch of the install profile attached.
Comment #3
adixon commentedComment #4
guguss commentedThanks for reporting.
Your patch has been commited to Gerrit : https://code.drupalcommerce.org/#/c/147/
Comment #5
bojanz commentedMerged, thanks!