Feature #2993

50k users cause problems in project->settings->members screen...

Added by Zarooba Rozruba over 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:2009-03-17
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:Projects
Target version:0.9.0
Resolution:Fixed

Description

I have 50k+ users.

Whenever I open project settings screen ruby chokes (I assume this is because of the high user count). Further more, when I head to members screen, the dropdown with 50k+ users kills my browser.

I have learned to manage users through administration->Users->[pick user]->Project, and then add the person to a project. But this is something that only administrator can do, not a project manager.

Instead of a drop down could it be a search screen? Kind like we already have under administration->users ?

Thank you


Related issues

Duplicated by Redmine - Defect #4408: Huge dropdown kills browser: dropdown for username in Pro... Closed 2009-12-15

Associated revisions

Revision 2638
Added by Jean-Philippe Lang over 8 years ago

Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993).

History

#1 Updated by Zarooba Rozruba over 8 years ago

This is on redmine v 0.8.2

debug output from server :

Processing ProjectsController#settings (for 127.0.0.1 at 2009-03-17 16:35:55) [GET]
  Session ID: d5774df5e1c9764e169b60d5dfac9390
  Parameters: {"action"=>"settings", "id"=>"everything", "controller"=>"projects"}
Rendering template within layouts/base
Rendering projects/settings
Completed in 29.50000 (0 reqs/sec) | Rendering: 21.20200 (71%) | DB: 8.28200 (28%) | 200 OK [http://localhost/projects/settings/everything]

#2 Updated by Jean-Philippe Lang over 8 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

r2638 fixes that problem. You now have a user search field with autocompleter.

#3 Updated by Zarooba Rozruba over 8 years ago

  • % Done changed from 0 to 100

Thank you,

This is exactly what I needed.

Kind regards

#4 Updated by Richard Schulte almost 8 years ago

woah! just wondering, if you dont mind my asking, how did your redmine site end up with 50k+ members?

#5 Updated by Zarooba Rozruba almost 8 years ago

Company I work with has that many people listed in LDAP. This includes people that are not employed directly, but also through contract work. Not all of them actually use Redmine, but all their accounts needed to be created so that they can be assigned to projects without having logged into Redmine first.

Additional stats:
- almost 200 projects
- 40k various project commits
- 7k issues

Unfortunately only a small fraction of the company actually uses Redmine, and not yet in full capability. Documentation stays in Sharepoint, wiki underused, not all projects hook up repository, some groups will use TFS/Mantis/SharePoint/RequistePro/Bugzilla/Remedy.

Currently Redmine has replaced 5 bug tracking systems used by various teams within the IT (two of which internally developed).

Also available in: Atom PDF