Opened 8 years ago

Closed 8 years ago

Remove users from suggestion list

Reported by: Owned by: andre.b@… Jeff Hammel normal AutocompleteUsersPlugin normal 0.11

Description

Users, which are not in the users list in TRAC admin anymore, are still in the list.

How can I remove a user from the list to keep it short and simple?

André

comment:1 Changed 8 years ago by Jeff Hammel

This is beyond the scope of which I'm willing to do with AutocompleteUsersPlugin right now. Right now, get_known_users is used for the AJAX handler that. I would like make this plugin work with groups of users -- say, you have a 'developer' group, or what not. Would this work for you? I'm more interested in getting Trac to deal with different classes of users better (get_known_users is both fairly misleading, as it only works with users that have logged in, and fairly useless to narrow down users), but I don't know how to solve this right now, though suggestions are welcome.

comment:2 follow-up:  4 Changed 8 years ago by anonymous

"This is beyond the scope of which I'm willing to do with AutocompleteUsersPlugin right now. "

What's the point if autocompleting non-existant users?

comment:3 follow-up:  5 Changed 8 years ago by andre.b@…

The point is that there is still users in the AJAX list that were deleted long time ago.

We work quite a lot with freelancers. Even though we have deleted the usernames from TRAC admin, they still appear in the AJAX list of AutocompleteUsersPlugin.

This is quite annoying since we had previous freelancers with similar names as existing team members.

comment:4 in reply to:  2 Changed 8 years ago by Jeff Hammel

"This is beyond the scope of which I'm willing to do with AutocompleteUsersPlugin right now. "

What's the point if autocompleting non-existant users?

File a ticket against Trac to either fix get_known_users or to have an alternate function that gets only active users. Since you didn't respond to my suggestion about groups, I'll assume you don't like it.

comment:5 in reply to:  3 Changed 8 years ago by Jeff Hammel

Resolution: → worksforme new → closed

The point is that there is still users in the AJAX list that were deleted long time ago.

We work quite a lot with freelancers. Even though we have deleted the usernames from TRAC admin, they still appear in the AJAX list of AutocompleteUsersPlugin.

This is quite annoying since we had previous freelancers with similar names as existing team members.

Propose a patch or suggestion to how it be done. Since you don't like my suggestion and seem to want to put the burden on me, I'm going to put the burden back on you.

Modify Ticket

Change Properties