Modify

Opened 10 years ago

Closed 10 years ago

#1077 closed defect (invalid)

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

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

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 10 years ago by Radek Bartoň

Resolution: invalid
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.