Opened 11 years ago

Closed 11 years ago

#1404 closed defect (wontfix)

Moderator List problem

Reported by: paresh.solanki@… Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


Is there any way of synchronising the list of available moderators with the list of registered users in the TracDiscussion (tracdiscussion 0.5) module?

When you add a user, that user is included in the moderators list, but isn't removed when the user is removed. Additionally, you cannot choose a user who was on registered before the module was installed.

I have tried giving a user DISCUSSION_MODERATOR, DISCUSSION_ADMIN and TRAC_ADMIN, but even after restarting the server, that user is not available in the moderator list.

There seems to be no other way of editing the moderator list

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by Radek Bartoň

Status: newassigned

List of avaiable moderators is displayed from get_know_users Trac's internal function. It returns all user which has edited anything inside Trac's environment (not just registered). Mostly filling a name and e-mail in account settings is sufficient. I'm not sure about this but I guess that Trac doesn't clean that users anytime so there is no checks if assigned moderator has not been removed from get_known_users' list. I think that Trac stores these information in session and session_attribute database tables so they can be removed from there but this is internal part of Trac and shouldn't be modified within DiscussionPlugin. You can remove them manually with sqlite command line tool but try it first on copy because I'd never try this before. Then it should be sufficient to edit forum properties with same values to remove missing moderators from forum.

comment:2 Changed 11 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

Won't fix sice it depends on Trac internals behavior.

Modify Ticket

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

Add Comment

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

Note: See TracTickets for help on using tickets.