Hi!

I'm coming here from http://drupal.org/node/737292#comment-2711028 and http://drupal.org/node/742676 where I've never got answer.

I've a SERIUOS problem: Views access restrictions by role doesn't works outside OG context, using OGUR module also.

I'll try to explain my problem better: I have OG groups with moderators and authors. Those roles has been assigned runtime with OG User Roles module (OGUR: not core roles, indeed all CORE roles chekboxes are unchecked. This is what OGUR requires to work correctly, because if I assign also CORE roles to users, they would have these roles over all site/groups regardless of their group membership).

Well, the issue exists because (I think) OG context is not keeped by Views in "access restriction" feature (I also tried using Group relationship or Arguments but without success).

Please see the image in attachment where I summarize the issue.

What can I do? Can you help me please?

Thank you very much

MXT

CommentFileSizeAuthor
ViewAccessIssue.jpg480.2 KBmxt

Comments

pgillis’s picture

subscribe

merlinofchaos’s picture

Status: Active » Closed (won't fix)

There's no way for Views to know anything about roles that are added or maintained by modules outside of core. It is completely not Views' responsibility to do this.

OGUR or whatever module needs to provide access plugins that can cope with this if they are going to work with Views. That is 100% the responsibility of that module.

mxt’s picture

Thank you for your answer, I've reopened the issue in OGUR tasks (see http://drupal.org/node/737292#comment-2817768 )