Defect #31010

The query visibility option "To me only" actually behaves as "To the owner only"

Added by Yuuki NARA over 1 year ago. Updated 2 months ago.

Status:ConfirmedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:Candidate for next major release
Resolution: Affected version:

Description

If you change the display range of a shared custom query created by another person to "Only me", only creator can be used instead of me.

When changing the Visibility of a custom query created by someone from "to these roles only" to "to me only"
It becomes available only to the custom query creator, not the one who is manipulating it.
It seems that display content is wrong and it leads to erroneous operation.

It may be better to change from "to me only" to "to author only".

Redmine3.4.6

History

#1 Updated by Yuuki NARA over 1 year ago

Steps to reproduce:

admin:

1.Create user-A and user-B.

Do not assign admin privileges.

2.Assign the following authority of the project to user-A, user-B.

Reference to issue
Custom query creation
Custom query management
(Save Query, Manage Public Query)

user-A:

3.Create custom queries shared within PJ.

visibility:[to these roles only]

user-B:

4.Edit the shared custom query created by user-A.

Change "Visible" from [to these roles only] to [to me only] and save.

This operation is intended to make it available only to me (user-B).

Result: Only user-A becomes available.

The userid of queries table points to user-A.

#2 Updated by Go MAEDA over 1 year ago

  • Subject changed from If you change the display range of a shared custom query created by another person to "Only me", only creator can be used instead of me. to The query visibility option "To me only" actually behaves as "To the owner only"
  • Category set to Issues
  • Status changed from New to Confirmed

I have confirmed the problem. It is confusing in some cases. I agree to change the string from "to me only" to "to the owner only" or "to the author only".

#3 Updated by Go MAEDA 3 months ago

  • Target version set to Candidate for next minor release

The following is the suggestion of new messages. Feedback are welcome.

diff --git a/config/locales/en.yml b/config/locales/en.yml
index 89fd151c4..aab925da2 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1004,7 +1004,7 @@ en:
   label_cross_project_hierarchy: With project hierarchy
   label_cross_project_system: With all projects
   label_gantt_progress_line: Progress line
-  label_visibility_private: to me only
+  label_visibility_private: to the owner only
   label_visibility_roles: to these roles only
   label_visibility_public: to any users
   label_link: Link
diff --git a/config/locales/ja.yml b/config/locales/ja.yml
index 2099764cf..7fd56ca57 100644
--- a/config/locales/ja.yml
+++ b/config/locales/ja.yml
@@ -1100,7 +1100,7 @@ ja:
   notice_account_not_activated_yet: アカウントが有効化されていません。アカウントを有効にするためのメールをもう一度受信したいときは<a href="%{url}">このリンクをクリックしてください</a>。
   notice_account_locked: アカウントがロックされています
   label_hidden: 非表示
-  label_visibility_private: 自分のみ
+  label_visibility_private: 作成者のみ
   label_visibility_roles: 次のロールのみ
   label_visibility_public: すべてのユーザー
   field_must_change_passwd: 次回ログイン時にパスワード変更を強制

#4 Updated by Go MAEDA 3 months ago

  • Target version changed from Candidate for next minor release to Candidate for next major release

#5 Updated by Go MAEDA 2 months ago

The phrase "to the owner only" is not so good in the new query form. In that form, the current "to me only" is more appropriate, I think. We should find a better phrase.

Also available in: Atom PDF