Page MenuHomePhabricator

Comments: Vote buttons for users without "comment" right.
Closed, ResolvedPublic

Description

Author: van.de.bugger

Description:
A user without "comment" right cannot leave comments, no editor field, no "Reply" links, but vote buttons are visible (not sure what is reaction to a click, thought).

I see two variants:

  1. Keep the extension simple: Users without "comment" right cannot vote => vote buttons should be hide (and server should not accept votes from such users).
  1. Increase complexity (and flexibility): We can introduce another right, "vote", to control voting, and show/hide buttons based on this right.

Your choice?


Version: unspecified
Severity: normal

Details

Reference
bz34301

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:17 AM
bzimport set Reference to bz34301.

van.de.bugger wrote:

Patch for the option #1.

The patch for option #1 is trivial.

Attached: