Opened 8 years ago

Closed 8 years ago

#1077 closed defect (invalid)

When using Admin interface to manage discussions, DISCUSSION_MODERATE perm not handled properly.

Reported by: anonymous Owned by: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


trac 10.3, python 2.4, TracDiscussion-0.5-py2.4.egg
I have a group defined as 'developer' which does not have DISCUSSION_MODERATE perm.
I have a group defined as 'editor' which inherits all of 'developer' perms and adds DISCUSSION_MODERATE perm.
On our site there are 12 individuals with 'developer' permission, and 3 individuals with 'editor' permission.
All 3 individuals with 'editor' permission show up in the list of possible moderators in the Admin / Component view.
An additional 6 individuals with only 'developer' permissions show up also as moderators, but the other 6 individuals with 'developer' permission do not.

Perplexing, but no good ideas at this point on how to diagnose. Will try to read through code when I get some time.

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by Blackhex

  • Resolution set to invalid
  • Status changed from new to closed

If you mean by "Admin / Component view" "Forums" page in WebAdmin plugin, threre is list box with all known users by Trac in "Edit Forum" or "Add Forum" forms. The reason why there are 6 users missing is that they have not changed anything in Trac yet and Trac's internal function get_known_users don't return them. To assign some user to be able to moderate some forum he/she has to have DISCUSSION_MODERATE and be added to list of moderators of particular forum. Only users with DISCUSSION_ADMIN can moderate forum and not be added to list of moderators. So I think this ticket is not bug but feature :-). Possible improvement would be that there would be listet only user with DISCUSSION_MODERATE premission in list box but there would be problems if you add some user to moderators of some forum and then you revoke him/her DISCUSSION_MODERATE permission.

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from Blackhex. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.