Locked users disappear from project settings
|Assignee:||Jean-Philippe Lang||% Done:|
I control which users are part of my projects, but I'm having problems with locked users. Thay disappear from the list and I can't manage them as long as they're locked. If at anytime they become unlocked by the administrator, thay would unexpectedly show up in my project with roles I gave them months ago.
This is annoying. I don't care if the users disappear from the workflow or from the page project, but if they are locked for some reason in Redmine, I should still be able to change their roles in my project, or kick them out if I needed to.
#1 Updated by Frederico Camara 11 months ago
Patch. Save and:
patch -p1 < ~/22034.patch
diff -ruN redmine-3.2.0/app/views/projects/settings/_members.html.erb redmine/app/views/projects/settings/_members.html.erb --- redmine-3.2.0/app/views/projects/settings/_members.html.erb 2015-12-06 12:06:20.000000000 -0200 +++ redmine/app/views/projects/settings/_members.html.erb 2016-02-15 12:12:51.284005067 -0200 @@ -1,5 +1,5 @@ <% roles = Role.find_all_givable - members = @project.memberships.active.includes(:member_roles, :roles, :principal).to_a.sort %> + members = @project.memberships.includes(:member_roles, :roles, :principal).to_a.sort %> <p><%= link_to l(:label_member_new), new_project_membership_path(@project), :remote => true, :class => "icon icon-add" %></p>
- File setting-member.png added
- Target version set to 3.2.5
- Affected version set to 3.1.0