Forum items about the 'organic groups' module talk about public vs private posts. It seems you can specify 'public' vs 'private' by checking a box above the audience list box when you create/edit content.

I have the audience list box(es). However, I don't have the public checkbox. Is this because I need to install an access-control module such as taxonomy_access and/or node_privacy_byrole? If so - what is the best access control module to use with organic groups?

I know various iterations of the question have appeared several times. However, I have read them all, and have yet to come up with the definative answer that specifically relates to organic groups. So - thanks much for your patience in advance!

Comments

moshe weitzman’s picture

og *is* the access control module. no other one needed ... you are not seeing the 'public' checkbox because you chose a setting which omits it. see admin/settings/og

bobbia’s picture

Thanks much for the post, Moshe! Now I can concentrate on just the og module.

Changing the below settings in admin/settings/og did not create the 'public' box:
- list selective groups
- visibility of posts
- audience required

The only setting that I haven't tried changing is 'initialize access control'. It has been selected before. But, due to the message that says "you should perform this only once", I have not selected it again. Should I, or will that create problems?

Whenever I do change any options in admin/settings/og, I get the following message:

"Organic groups access control has been disabled. You may now disable the module on the admin/modules page. The configuration options have been saved."

Is this message indicating an error?

Thanks much!

bobbia’s picture

OK - I took the plunge and selected 'Initialize access control'. I can now select 'public' when I edit. After selecting the initialize option, I received the message:

"Organic groups access control enabled. The configuration options have been saved."

So - I assume I didn't do any damage, despite the warning.

Therefore, I am assuming that I need to select 'initialize' every time I change og options. Given the warning message of 'you should perform this only once' - are there problems with multiple og option updates?
Thanks!

RobRoy’s picture

When I post a blog to a group and have Public unchecked and My Group checked, I can still see the post in Recent Post blocks while logged in as other user.

Could another module be conflicting with this? I have taxonomy_access installed and some others. I have done "initialize access control" also and to no avail.

ec’s picture

rbarreca, it's my experience that OG doesn't work with TA neither does it with other module doing access control. Unselect TA and OG will work as it is suppose to do.
eric

RobRoy’s picture

You were right. I had installed way too many mods just to check them out. I did a clean install of Drupal and OG works perfectly! Thanks.

noid’s picture

See related thread above.

Am using 4.6. Found out thru experimentation that it is not taxonomy access' fault. When I disabled then enabled og in admin>settings>og, the visibility of a post worked as it should, that is, just within the targeted group(s) and not visible to everyone.

Neil Adair’s picture

Am using 4.6. Found out thru experimentation that it is not taxonomy access' fault.

Are you using both?
Does tax access have to be installed first? (og disable/enable fix)

Neil

noid’s picture

Hi Neil,

I'm sorry but just realized that I'm not using taxonomy access but taxonomy context -- was sleepy last night. :) Anyway, the disable-then-enable-og fix seemed to work for me. (At any rate, if you're using TA, I suggest you still try this fix just in case it might work). Again, sorry for any confusion my post caused. :)

RobRoy’s picture

I can upload images (through img_assist) but I can't seem to make them private (not shown publicly in img_assist selection and not shown as a "recent post").

I have a public checkbox, and group checkboxes. But I want users to have the images they upload (for use in their home page) to not be shown all over the site. I feel like when a user unchecks private and has no group boxes checked. The image should not be shown under recent posts, etc.

How can I accomplish this with OG and img_assist? I also want this to apply to albums? I feel like many people have asked this question but I can't find an answer.