Closed (fixed)
Project:
Content Access
Version:
7.x-1.2-beta1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2011 at 10:25 UTC
Updated:
5 Mar 2012 at 18:04 UTC
I want to change per-node access settings programmatically with rules. With the current version this is apparently not working.
I try to find a way to do this in Rules with an "Execute custom PHP code" action. For this reason I nead to know how to access/modify them.
Can anyone tell me? Preferably I would like to know how a piece of code would look like e.g. to set the "Can view any content" parameter for a node.
Comments
Comment #1
acrazyanimal commentedHey there, your issue may now be duplicated by #1464948: Dynamically setting content access permissions using rules. Please take a look and see if the patch helps you out as well. If so perhaps you can mark this issue 'closed (duplicate)' to help the maintainers out.
Comment #2
Goofy2k commentedAs this was a work-around, the issue can be regarded as closed.
Thanks acrazyanimal
Comment #2.0
Goofy2k commentedslight change: I want to know how to access/modify the settings. Not where they are stored :)