It is currently not possible to grant the "administer store" permission to a role and then have that role view the path "admin/store".
This is because in uc_store_admin_access(), it checks for the "administer_store" permission (note the underscore). This should be "administer store".
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ubercart-administer-store-permission-2501121-1.patch | 515 bytes | joelstein |
Comments
Comment #1
joelstein commentedComment #3
tr commentedLooks like a typo from the patch in #364307: Store Administration doesn't appear in admin menu bar.
Thanks for caching that. I committed your patch to both D7 and D6. D8 doesn't have this issue.
Comment #6
tr commentedNot sure why the testbot reopened this ...