Modify

Opened 8 years ago

Closed 8 years ago

#4874 closed enhancement (worksforme)

Remove users from suggestion list

Reported by: andre.b@… Owned by: Jeff Hammel
Priority: normal Component: AutocompleteUsersPlugin
Severity: normal Keywords:
Cc: Trac Release: 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?

Thanks in advance,

André

Attachments (0)

Change History (5)

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 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 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

Replying to 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?

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
Status: newclosed

Replying to andre.b@gmx.com:

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
Set your email in Preferences
Action
as closed The owner will remain Jeff Hammel.
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.