Closed (fixed)
Project:
Commerce License
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2017 at 12:01 UTC
Updated:
16 Nov 2017 at 10:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dawehnerThe only problem with this patch: We rename permissions: "create licenses" to "create commerce_license" and "view any license" to "view own unpublished license" + "view commerce_license".
Alternative solution: use the uncachable permissions provider / access controller, which would add "view any commerce_license".
Comment #3
dawehnerBojanz pointed out that licenses are not frontend facing, so caching doesn't matter. This will bring back the "view own "... permission.
Comment #4
bojanz commentedLooks good.
Comment #6
joachim commentedYou missed one of the perms that was commented as being one we can remove ;)
Also:
- added explicit dependency on entity module
- kept in the description and the restrict access on some of our perms
Comment #7
dawehnerThank you!
Oh that is a good point!