I think the Administrator (user #1) for the site should be able to have full access to mark any comment as the best reply, not just the author of the node. I, as admin for a newspaper, am also the ditor, and post all articles for our authors. The authros each have theri own accounts for tracking and viewing, etc, so I post them under their name. This makes it impossible for me to mark comments as best reply because I am not the author of most of the nodes, even though I have full control over the entire site. (I'd have to log in as each of our 192 authors in order to make changes to their best reply comments)

Please consider opening up all access for the admin. :-)
(Or let me know if there is a way for me to have full access)

CommentFileSizeAuthor
#3 bestreply-436376-3.patch5.1 KBnonsie

Comments

taslett’s picture

Assigned: Unassigned » taslett

Hi gregarios,
As administrator you should have full access, I'm a little surprised you don't, on my test system as administrator I do.
You can also change the permissions: admin/user/permissions if you give the role you belong to access to 'moderate bestreply' you should be able to mark and remove bestreply's from any topic.

taslett’s picture

Status: Active » Closed (fixed)

Administrators have full access.

nonsie’s picture

Version: 6.x-6.4 » 6.x-8.1
Status: Closed (fixed) » Active
StatusFileSize
new5.1 KB

This is not quite accurate. Moderate bestreply permission is not checked until it's verified that the user is not the author. So for example if user 1 creates the node and comments on it later he is unable to mark that comment as best reply.
I don't also understand the check for if user is logged in. If anonymous users shouldn't be able to mark something as best reply they shouldn't be given that permission.

Patch against 6.x-8.x attached. Note that I changed the second parameter to $object since $node was misleading, especially for comment links.

taslett’s picture

Status: Active » Closed (fixed)

Thanks for the patch nonsie.

If anonymous users shouldn't be able to mark something as best reply they shouldn't be given that permission.

Yes totally agree, that makes sense.

The patch has been added to 6.x-8.2