Closed (won't fix)
Project:
OG Forum
Version:
master
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jun 2010 at 15:47 UTC
Updated:
15 May 2015 at 20:18 UTC
Jump to comment: Most recent
Comments
Comment #1
salvisAFAIK, FA gets along with OG Forum, but it deals only with normal forums.
Can anyone chime in here?
Comment #2
Apfel007 commented... 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.
Comment #3
salvisI think OG Forums are not forum.module forums ('normal' forums), but I may be wrong.
Maybe the OG Forum maintainer can shed some light?
Comment #4
Apfel007 commentedhi salvis,
this says forum access should compatible with og forum
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..
Comment #5
JohnnyX commentedIs it a og_forum or forum_access issue?!
Comment #6
salvisThe 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...
Comment #7
JohnnyX commented@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...
Comment #8
salvisSo 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.
Comment #9
JohnnyX commentedI 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 ;)
Comment #10
salvisIf 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?
Comment #11
JohnnyX commented@Salvis
I haven't tested this... If I install of_forum again I will try it.
Comment #12
drupalninja99 commentedI 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?
Comment #13
donquixote commented@salvis (#3, #8). This is not how og_forums works.
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.
Comment #14
salvisThank 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...
Comment #15
donquixote commentedI 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.
Yes. So the correct thing would be to let forum_access deny access
I don't find any "og_forum_access(" or "og_forum_node_grants(" in og_forum.module. I am not really surprised.
Comment #16
vegantriathlete