Opened 11 years ago

Closed 11 years ago

#487 closed defect (wontfix)

Incomplete list of possible moderators when creating a forum.

Reported by: hrvelic@… Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.9


I have noticed that the list of moderators is incomplete, showing only the first two people with TRAC_ADMIN privileges instead of all four of them that have been assigned TRAC_ADMIN privillege on my site.
If you need any more information, please let me know.

Attachments (0)

Change History (6)

comment:1 Changed 11 years ago by anonymous

Component: TracHacksDiscussionPlugin
Owner: changed from Alec Thomas to Radek Bartoň

comment:2 Changed 11 years ago by Radek Bartoň

Status: newassigned

List of know users are getted by env.get_known_users. I'll append some debug output to be sure but I think that this function returns only users which was logged in sometime (if you use htdigest file). Could you please try it again and post debug log cut after next plugin changeset. Anyway thanks for vauable feedback and testing.

comment:3 Changed 11 years ago by hrvelic@…

Sure. Please send me a mail or post a comment here about it when the next changeset is available. I admit I have no idea what htdigest file is. *blush*
Also, three of the four moderators log on regularly, so it should be at least hree instead of two.
In any case I'm not excluding the possibility of this being a problem of trac instead of discussion plugin.

comment:4 Changed 11 years ago by Radek Bartoň

Next changeset is here :-). I've added print of users returned by get_know_users function but I don't think that this will tell me anything. I've tested what users are returned on my two trac systems but they were always all. You can try it and post debug output if you want. If you'll be still experiencing problems I'll discuss get_know_users function behavior with Trac developers or I'll try find other way how to get list of registered users.

comment:5 Changed 11 years ago by hrvelic@…

I have installed changeset 1009 (1010 really, but doesn't matter). While everything else works, I still get only two of the moderators.
If you can send me a mail with instructions of what to do, as in how to turn on debugging and send you the debugging logs. I have zero experience with python, both as a language and as a platform.
Thanks, Hrvoje Velic

comment:6 Changed 11 years ago by Radek Bartoň

Resolution: wontfix
Status: assignedclosed

I've taken advice on #trac irc cannel and there I've been told that get_know_users function returns only that users who has created session in Trac. That means that your users have to do something with Trac logged in (i. e. post a ticket or fill in their email in settings). This functionality might change in some new Trac version.

Modify Ticket

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.