Conflict CA and Organic Groups OG Access

tenx - April 11, 2009 - 22:34
Project:Content Access
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have both CA module OG Access module installed on my site . ever since i enabled CA module . all OG home pages which were private and could only be accessible by its users are now public and accessible by every user. How can i get CA to play nice with the og access module .

#1

fago - April 17, 2009 - 18:09

Try lowering the priority. Please report back if it works for you.

#2

tenx - April 21, 2009 - 08:47

Hi there,

I have already lower the priority to 1, but still not working

#3

ksc - June 28, 2009 - 06:50
Title:Conflict CA and OG Acess» Conflict CA and Organic Groups OG Access

subscribe - I have the same problem.

I use OG 6.x-2.0-rc3.
OG has an option for each group: "List in groups directory". When I enable this option all content will be shown also to non group users. I tried the weight/priority for goups and group content -10 and +10. No success.

When I disable the OG option "List in groups directory" and use priority -10 for all groups content type it works fine. But with this option non group members don´t see that the group excist and can´t request membership.

Any ideas from your side?

#4

ksc - June 28, 2009 - 07:31

Did you (maintainer) ever thought about having a selection within CA to which content type it applies?

#5

ksc - June 28, 2009 - 08:35

Good news. I seems to work now.
What I did: disable the module, enabled it again, rebuilt permission, set CA priority (weight) to -10 for content type groups (the groups itself) AND for all content types that can be used withing groups and set the permissions to the specific roles.

Hope this can be helpful for others too.

Thanks for the nice module - it is really of great help!

#6

itsnotme - July 7, 2009 - 12:37

I just tried the same including the troubleshooting but the authentified user could still see group nodes he had no view rights for.

Only when I set the group node Content Access weight to +10 (!) it worked in my case. Hmmm.

#7

fago - July 31, 2009 - 09:05
Category:bug report» support request

Yep, I'd say it depends what you want: Should organic groups access system or the content access system should be priorisized?

Anyway I leave the issue open so others interested in this can find it.

#8

Dmitry.Panteleev - November 4, 2009 - 10:31

Well. And what if I want to only deny access using both modules? If one of them have denied access, then there is no access to node. And If it didn't happened --- you are welcome to view it.

#9

salvis - November 11, 2009 - 17:04

what if I want to only deny access using both modules?

The Node Access system works the other way around. Access is denied by default, and any NA module can grant access, but not take it away (except by increasing its priority, which will cause ALL of the other module's grants to be ignored completely).

#10

izmeez - November 11, 2009 - 17:09

subscribing

#11

Dmitry.Panteleev - November 13, 2009 - 18:12

Thanks, salvis.

#12

ianchan - November 21, 2009 - 07:48

Setting priority for the group content type is working. OG permissions take precedence. Great module... thanks for leaving this issue open.

 
 

Drupal is a registered trademark of Dries Buytaert.