ACL + Content Access + Rule + Multiselect CCK

parkej60 - October 29, 2009 - 14:02

Hello,

I'm currently working on a project which has a content type that implements the Multiselect CCK widget on a user referenced field. I then am using ACL +Content Access + Rule to assign rights to this content for the selected users, which is where my problem starts.

When I create the rule to load the referenced user field, which is the multiselect cck widget, and assign permissions via Content Access it only assigns the first user that is selected in the multiselect cck widget and not the others.

My assumption is that either the load referenced user field is not accepting the entire argument that the multselect field is passing or the content access module is not capable of looping through arrays of values and assigning access.

In either case I'm not sure which project to post this under so I'm just putting it under General Support.

_

WorldFallz - October 29, 2009 - 15:37

Have you investigated the http://drupal.org/project/nodeaccess_userreference module? If i understand you correctly, it should should do what you're trying to do.

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.

Thanks!

parkej60 - October 29, 2009 - 20:36

ooooooooh Snap! That's exactly what I need. :)

 
 

Drupal is a registered trademark of Dries Buytaert.