Closed (fixed)
Project:
Forum Access
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Apr 2008 at 17:53 UTC
Updated:
23 Aug 2008 at 17:23 UTC
Jump to comment: Most recent
Comments
Comment #1
salvisThere are not supposed to be any differences between the D5 and D6 versions.
FA has nothing to do with permissions.
Follow the directions that were displayed when you created the issue, create a post and look at the node_access entries to see what FA is doing.
Comment #2
netpat commentedSorry about that. Here more details:
The following data has been catched in a forumboard where I have activated all access-options in FA for authenticated user:
But an authenticated user cannot edit or delete a message before I haven't activated "edit/delete any forum topic" under the D6 permissions. On the other way when I deny access in FA, the authenticated user can still edit / delete messages except I adjust the D6 permissions. It looks like these FA settings will be overwritten by the D6 internal permissions.
BTW: View and Create is working as expected.
BTW2: Thanks for the great modules.
Comment #3
salvisThank you for completing the picture. This is actually a bug in core.
See #153998: Access checks returning NULL is ugly. and try the patch in #91.
Comment #4
netpat commentedThank you... great work. With your patch it seems to work.
Let's say when I don't use "Edit posts" and "Delete posts" then I don't need the core patch or even then it is suggested?
As a result of my tests I assume, that the moderators-feature is "only" permitting common access (view) to the forum. If a moderator can edit or delete posts has to be defined in the core permissions?
Comment #5
salvisWell, it's a bug in core and it should be committed at some point. Node access control is just not working without it.
The moderator should have full access without needing any permissions at all, and it works for me (with the core patch). Does it not work for you?
If you want to investigate further, install the devel_node_access patch in http://drupal.org/node/241060#comment-797217 and you'll see much more detail about what's going on.
Comment #6
salvisIt turns out there were dumb bugs in my patch. Please undo the patch in $91 and apply this one: http://drupal.org/node/153998#comment-812767
Comment #7
salvisThe patch is in #153998: Access checks returning NULL is ugly. #93 (or later).
Please review and comment, so the patch can get committed.
Comment #8
netpat commentedI found out that the moderator-feature is working when I rebuild the permissions after adding a moderator. Otherwise only newer messages created after defining the moderator(s) are working as supposed.
Thanks for your great support. Together with your core-patch it seems to work as it should.
Comment #9
salvisYes, the need to manually rebuild the permissions to enable the moderator for pre-existing nodes is a left-over from the D5 version that I will remove before releasing 6.x-1.0.
Thanks for your help with this!
Comment #10
salvisI leave this open as a signpost until Drupal 6.3 is out.
Comment #11
deekayen commentedsubscribing
Comment #12
nmashruwala commentedsubscribing
Comment #13
Anonymous (not verified) commentedSubscribing
Comment #14
raider.adam commentedJust to clarify, if I am just want to make public and private forums based on user roles, the module as is works sufficiently?
Comment #15
salvisIt's hard to say. Since D6 doesn't let any node access module supply any grants, FA can't grant access to anything.
Comment #16
CinemaSaville commentedSo the question is, if I install this in 6.2 am I risking major disruption with my site? Also, as a relative novice, how do implement the patch referred to above? Basically this thing has become crucial as I'm having major issues with core Forum module not allowing access to anonymous users.
Thanks
Comment #17
salvis@cinemasaville: No, please don't try this. As a "relative novice", you should install only modules with real (green) releases. Adding unreleased modules to a site that is already not functioning correctly, will not improve things.
See the Handbook or search for "patch" for information about patching.
Comment #18
Daitaka commentedOkay, it's all just a bit confusing so I'd like to ask for some clarification.
My site runs fine now (well, not 100% but those issues aren't related). I have a few forums and a few roles and I'd like to restrict some forums so that only some roles can post in them.
If I apply the patch from http://drupal.org/node/153998#comment-818688 and I install your 6.x-1.x-dev version, will it actually work? Or would that just be a waste of my time?
Comment #19
salvisI *hope* it will work. However, 6.x-1.x-dev is a beta version — it's intended for testing (on a Drupal version that is not yet available!), and not for production use.
So, you can help to advance this by applying the patch, installing FA, and testing and providing feedback, but I cannot provide reasonable assurance of whether it will work.
Comment #20
naheemsays commentedSince drupal 6.3 is out, should this bug be marked fixed? (and the warning removed from the project page/modified to indicate that it only applied to older versions of drupal)
Comment #21
salvisGood question — have you tried it?
Comment #22
naheemsays commentedI just tried it again and it seems to work for nodes, but not for comments.
Just tried adding a user as an administrator for a forum, but not having admin comments permission in permissions. The user can only see quote and reply on comments, not edit or delete.
Not sure if this is the expected behaviour or not. If it is, the module works :P
Comment #23
Anonymous (not verified) commentedSame here. The moderator can edit all nodes but only his own comments without a reply. As a moderator he should be able to edit all comments of all users with and without replies.
=> #206207: Moderators cannot delete or edit other user comments?
Comment #24
naheemsays commentedk, in that case, this bug is fixed - that is another bug.
Comment #25
salvisGreat, now we can finally turn to testing FA for D6.
#206207: Moderators cannot delete or edit other user comments? is not a bug, but a missing feature. I agree that it's a highly desirable feature, but it's just not implemented yet...
Comment #26
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.