Active
Project:
Conference Organizing Distribution
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2016 at 14:02 UTC
Updated:
14 Aug 2018 at 14:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
schiavone commentedComment #3
schiavone commentedThe correct permission is "View any Sponsor product" so giving a role with this permission to a sponsor's account will allow them to use the order link.
Though it would make sense to automatically give permission to anyone included in the Sponsor contact field as noted by the TODO in the code. So I created a patch that will allow adding the Sponsor product to the cart if...
1. The current user is in the Sponsor contact field
2. The current user is the author of the Sponsor node
3. If the current user has the View any Sponsor product
The patch includes one other small change since it was very confusing to get directed to checkout they will now be taken to the cart where they can remove items. A user could have an extra ticket item or even an extra sponsorship item.
I've posted the patch to the cod_support module project since that's where the code is maintained.
Comment #4
schiavone commentedSo we updated our camp site to 7.x-2.0 and this is still an issue. I will test this patch against the latest release and re-roll. Perhaps a maintainer can at least comment on this issue. I know everyone has moved on to D8 but...
Comment #5
schiavone commented