Posted by seth97 on December 8, 2009 at 12:30am
Hi!
I have a site with organic groups. When a user submits a content type within a group I would like the user to choose between three levels of access for the node:
1) Open: the whole world (anonymous)
2) Restricted: authenticated
3) Private: members of the current group
Point 3) is achieved with the 'Public' check-box provided by OG, but how do I get point 1) and 2)?
I have tried simple_access and nodeaccess, but it doesn't seem to go well with OG. I am running D5.
Any ideas how to get this three levels of access on each node submitted within a group?
Comments
subscribing
subscribing
still no solution....
I haven't found any solution yet.
I was very hopeful with content_access.
I wanted to use content_access to regulate the access to a node for anonymous users and then have OG regulate access for authenticated users. So far I can't get OG and content_access to work together. I am now trying out this approach: http://groups.drupal.org/node/5392
Seems to be complicated, all I want is a check box for every node: "Stop Anonymous Users from viewing this node".
We're working on this
See http://drupal.org/node/660610
Cheers,
Bill
FunnyMonkey
Working code available
We have code in place that delivers this functionality -- you can get it at http://drupal.org/node/660610#comment-2420722
Testers/reviewers: have at it!
Cheers,
Bill
FunnyMonkey
Great!
Great! I am really exited about this functionality!
Any chance this code could be modified for D5?
Thanks!
D6 and above only
This is only for D6, sorry. We'll port this to D7 as well, but this will not be backported (by us, anyways) to D5.
And it's now a contrib module: http://drupal.org/project/og_access_roles
Testers welcome!
Cheers,
Bill
FunnyMonkey