Jump to:
| Project: | OG Forum |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | paulbooker |
| Status: | closed (fixed) |
Issue Summary
I checked all "Automatic forum publicity", "Allow public choice", and "Make all forums public" under setup of "Organic groups forums". I expected the og forum topics are public viewable, even with anonymous.
Questions:
1. when create a new forum, it is still private by default. If the group owner does not manually click on "make public" under "manage group forums", no people can browse the topics.
2. under "Content Management"=>"Post settings", when I press "Rebuild permissions" to rebuild the node access permission, I found that node_access table changes from, e.g:
nid_____gid____realm__________grant_view____grant_update____grant_delete
118____116____og_admin_________1_______________1____________1
118____116____og_subscribe______0_______________0____________0
(i.e. only the people who subscribed the group can view the topics, not public viewable)
change to 1 record only:
118_____0_____all_______________1_______________0____________0
****All people can view the og forum topic, which is what I want.****
Further submit og forum topics still get the above problem.
3. if the node_access->realm is changed to "all", the node is able to view in "Recent posts" or users/username/track. Restricted the og_forum entry does not restrict the access of og_forum postings.
Need some time to trace the bugs.
Comments
#1
Thanks Nelson.
I'm helping you with this now ...
Best, Paul
#2
I checked all "Automatic forum publicity", "Allow public choice", and "Make all forums public" under setup of "Organic groups forums". I expected the og forum topics are public viewable, even with anonymous.
.. The OG forum topics are publicly viewable if for example "Automatic forum publicity" is checked and there has been posted one public post into the group or if the group manager (some one with the "make the forum public" permission) makes the forum public
1. when create a new forum, it is still private by default. If the group owner does not manually click on "make public" under "manage group forums", no people can browse the topics.
.. That is correct
Let me know if i need to investigate 2 / 3 .
Thanks for all your help, much appreciated.
Best, Paul
#3
Group posting is public viewable, while og_forum posting is private (by default). This is quite confusing to end-user. Assume this is by design, skip this part and let's go to investigate part 2 and 3. Thank you.
#4
2. under "Content Management"=>"Post settings", when I press "Rebuild permissions" to rebuild the node access permission, I found that node_access table changes from, e.g:
nid_____gid____realm__________grant_view____grant_update____grant_delete
118____116____og_admin_________1_______________1____________1
118____116____og_subscribe______0_______________0____________0
(i.e. only the people who subscribed the group can view the topics, not public viewable)
change to 1 record only:
118_____0_____all_______________1_______________0____________0
****All people can view the og forum topic, which is what I want.****
.. When i rebuild access permissions for a particular group (with nodes) nothing is changed . If i simulate your problem exactly with grant_view = 0, realm = "og_subscribe" for a singlular node then then the grant_view
permission is regained when the the node_access table is rebuilt. That all seems to be as expected.
Can i clarify problem 3 .
#5
Problem 3 exists due to problem 2. After node rebuild, the postings will display in "Recent Posts" and user/track.
For problem 2, I found that 2 node_access records delete and add 1 new record. As the above case, before rebuild, the og_forum posting is only viewable by subscriber and admin (admin can edit and delete it). After rebuild, all people include anonymous can view the posting. og_admin can edit the record, but not delete it. This is a open membership og and I wish anonymous can view the posting like any other traditional forums.
Unless there is some tricky setup, it should be re-producable.
#6
Would you confirm that this is still an issues that needs to be resolved ?
I'll then have another look at this later this week.
Best, Paul
#7
As there is no fix release in mid-Feb, I changed the source code for my own needs.
I changed the og_forum topics to be public as default, and modify the node_access, etc. I have not tried version 1.3 or 1.4, but I scaned through the source and believe the fix is not related to my problem.
#8
#9
Please reopen if you still need assistance here.
Best, Paul