プロジェクト

全般

プロフィール

Vote #77208

完了

Locked users disappear from project settings

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Project settings_43
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
43
version_id:
124
issue_org_id:
22034
author_id:
127719
assigned_to_id:
1
comments:
11
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
90
ステータス-->[Closed]

説明

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.


journals

Patch. Save and:

patch -p1 < ~/22034.patch

<pre><code class="diff">
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>

</code></pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I think this is a regression caused by r14332.

On Redmine 3.0.x and before, we could see locked user on Settings > Members tab like the following.

!setting-member.png!
--------------------------------------------------------------------------------
Fixed with tests in r16116. The memberships API is also updated to return locked members.
Thanks for pointing this out.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
-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.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> I think this is a regression caused by r14332.
>
> On Redmine 3.0.x and before, we could see locked user on Settings > Members tab like the following.
>
> !setting-member.png!

Really? I cannot reproduce.
--------------------------------------------------------------------------------
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?

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

Admin Redmine さんが約4年前に更新

  • カテゴリProject settings_43 にセット
  • 対象バージョン3.2.5_124 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0