Defect #22034
closedLocked users disappear from project settings
0%
Description
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.
Files
Updated by Frederico Camara over 9 years 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>
Updated by Go MAEDA almost 9 years ago
- Subject changed from Blocked users disappear from project settings to Locked users disappear from project settings
- Description updated (diff)
Updated by Go MAEDA almost 9 years ago
- File setting-member.png setting-member.png added
- Target version set to 3.2.5
- Affected version set to 3.1.0
Updated by Jean-Philippe Lang almost 9 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
Fixed with tests in r16116. The memberships API is also updated to return locked members.
Thanks for pointing this out.
Updated by Jean-Philippe Lang almost 9 years ago
- Status changed from Resolved to Closed
Updated by VVD VVD over 8 years ago
Just updated from 3.3.1 to 3.3.2 - can't see locked users in Settings > Members tab in both versions.
Can't see in Overview, not in Settings.
Updated by Toshi MARUYAMA over 8 years ago
Updated by Toshi MARUYAMA over 8 years ago
VVD VVD wrote:
Just updated from 3.3.1 to 3.3.2 - can't see locked users in Settings > Members tab in both versions.
Can't see in Overview, not in Settings.
What do you expect?
Updated by VVD VVD over 8 years ago
Toshi MARUYAMA wrote:
VVD VVD wrote:
Just updated from 3.3.1 to 3.3.2 - can't see locked users in Settings > Members tab in both versions.
Can't see in Overview, not in Settings.What do you expect?
See locked users in Overview too (grey).
Updated by Toshi MARUYAMA over 8 years ago
VVD VVD wrote:
Toshi MARUYAMA wrote:
VVD VVD wrote:
Just updated from 3.3.1 to 3.3.2 - can't see locked users in Settings > Members tab in both versions.
Can't see in Overview, not in Settings.What do you expect?
See locked users in Overview too (grey).
Please create new issue if you want.
r14332)" alt="screenshot (before