Hi there,
I'm wondering, why the UI isn't shown under /admin/content/forum/edit/forum/7.

What could be the cause? I reinstall the module several time.. the role " forum moderator" isn't created , too!
I'm using OG Forum..

Cheers Apfel007

Comments

salvis’s picture

Title: Forum Access UI isn't shown » OG Forum: Forum Access UI isn't shown

AFAIK, FA gets along with OG Forum, but it deals only with normal forums.

Can anyone chime in here?

Apfel007’s picture

... what means "deals" ? Is it not working in combinatin with OG-Forum or is the access regulation only for normal forums? I would only need a access regulation in point of "write topic" for a role in a OG forum.

salvis’s picture

Project: Forum Access » OG Forum
Version: 6.x-1.3 » master

I think OG Forums are not forum.module forums ('normal' forums), but I may be wrong.

Maybe the OG Forum maintainer can shed some light?

Apfel007’s picture

hi salvis,
this says forum access should compatible with og forum

Forum Access is compatible with the core Forum module, Advanced Forum, and OG Forum as well as all other well-behaved node access modules.

Why do you think, that og forum are "not forum.module forums " ? In my opinion there are a lot of overrides & preprocesses and no second forum module..

JohnnyX’s picture

Is it a og_forum or forum_access issue?!

salvis’s picture

The forum.module is a core feature. Its administration pages are at admin/content/forum/list and admin/content/forum/edit/forum/TID. FA adds a fieldset to the latter page.

Now tell us what you see...

JohnnyX’s picture

@salvis:
Ok, forum_access works fine standalone. og_forum use a own admin page and so forum_access isn't supported... Right?
I tested also og_forums_reloaded (forked module because of some bugs and problems with the og_forum module.) but group admin/ owner can't post topics at own forums... It should work with forum_access and use/override entries at forum access db table but at the moment the forked module have more problems than og_forum for my tests...

salvis’s picture

So you're using og_forums but not core forums. right? I think you should be able to use both in parallel and FA would work with the core forums. That's what's meant with being compatible: they don't get in the way of each other.

Adding og_forum-specific support to FA is beyond the scope of FA.

JohnnyX’s picture

I see and administrate og_forums as group owner (not drupal admin panel, "group admin forum panel") but I also see group boards as core forums in admin section. It's not your job but it would be great if forum access and og_forum work together but it's not the job of forum access ;)

salvis’s picture

If you see the group forums as core forums on the admin/content/forum page, can't you use the admin/content/forum/edit/forum/TID pages to set FA grants?

JohnnyX’s picture

@Salvis
I haven't tested this... If I install of_forum again I will try it.

drupalninja99’s picture

I am converting a site that had ACL and forum_access installed, I uninstalled those modules and I was testing adding a forum for a group and then allowing a user in that group to post in the forum. I get an access denied error though on the forums topic list page even though I can see the forum since that user is in the group. Where is the group access controlled?

donquixote’s picture

@salvis (#3, #8). This is not how og_forums works.

So you're using og_forums but not core forums. right? I think you should be able to use both in parallel and FA would work with the core forums. That's what's meant with being compatible: they don't get in the way of each other.

Now, how does og_forum work?
og_forum creates a forum term for each organic group node. The forum term will be part of the forum vocabulary, and it will show up on the "admin/content/forum/list" page. Core forum is in fact a dependency of og_forum.

Collision of og_forum with forum_access:
1. If you are not user/1, it can happen that the forum term name will not be clickable on "admin/content/forum/list", and the edit link will not exist, because the automatic forum term creation left all the role access settings unchecked. Hint: Masquerade as admin (user/1) to get them back.
2. If forum_access settings for the given term are set to "everyone can see", then og_forum fails to restrict group forum post visibility. It does restrict the "node/45054/og/forum", but not group forum node pages themselves.
3. If forum_access settings for the given term are set to "only admin can see", then forum_access will restrict access even though og_forum would allow it. Group forum node pages will give a "access denied", and the "node/45054/og/forum" will show an empty list.

I begin to see my idea confirmed that I should simply drop og_forum, and use just normal group posts instead, spiced up with display suite and friends.
See Michelle's comment in #386566-68: OG Forum incompatible with Advanced Forum 6.x.2.

salvis’s picture

Thank you for the much needed explanation!

1. og_forum should form_alter the default values of FA's permission matrix.

2. That's the result of the GRANT nature of the node access system; if any module grants access, then it can't be taken back.

3. I'm not sure why this happens. Maybe og_forum isn't following the node access rules after all?

Thanks for the pointer, I'm in the same boat with Michelle...

donquixote’s picture

1. og_forum should form_alter the default values of FA's permission matrix.

I guess form_alter doesn't work, since og_forum does not use any form for creating the terms. It just has to replicate the behavior of the submit handler.
That said, I don't see how this would help. Either you set the checkboxes to allow all visitors of one role, or you deny it. There is no "only for group members" checkbox.

2. That's the result of the GRANT nature of the node access system; if any module grants access, then it can't be taken back.

Yes. So the correct thing would be to let forum_access deny access

3. I'm not sure why this happens. Maybe og_forum isn't following the node access rules after all?, and then let og_forum allow it again for group members.

I don't find any "og_forum_access(" or "og_forum_node_grants(" in og_forum.module. I am not really surprised.

vegantriathlete’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)