Opened 10 years ago

Closed 10 years ago

#1404 closed defect (wontfix)

Moderator List problem

Reported by: paresh.solanki@… Owned by: Blackhex
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 10 years ago by Blackhex

  • Status changed from new to assigned

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 10 years ago by Blackhex

  • Resolution set to wontfix
  • Status changed from assigned to closed

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

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
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.