Closed (fixed)
Project:
Signup Restrict by Role
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Reporter:
Created:
20 Oct 2009 at 10:50 UTC
Updated:
23 Dec 2010 at 02:10 UTC
This feature does not work. I have installed as per instructions and although everything appears ok and the list of users feature in the signup tab of the event, when a role is picked, the subsequent action is not committed. That is the signup is not restricted to the role that is checked.
Comments
Comment #1
mrconnerton commenteddo you have revisions turned on for the event node type?
I did find a flaw in the hook_nodeapi
when the op == load, the code should be checking for $node->signup which it is doing before the switch
On op == update/insert it needs to look for $node->signup_enabled instead.
Comment #2
ebeyrent commentedComment #3
puneet63 commentedWE have done the same but it is still showing failure. And not restricting a role to sign up
Comment #4
ebeyrent commentedPlease see commit #461612 - I have addressed a bunch of these issues, and I believe that it's working as intended now.
Please let me know if you have any other issues!