プロジェクト

全般

プロフィール

Vote #81772

完了

Custom field properties "visible" and "editable" do not work for user

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

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

0%

予定工数:
category_id:
14
version_id:
0
issue_org_id:
36392
author_id:
570309
assigned_to_id:
0
comments:
3
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[Closed]

説明

Hi, thank you for developing Redmine, it's a tool that I use daily.

I want to let you know that yesterday I noticed a defect when playing around with custom fields in the context of the user entity.

The properties visible and editable can be deactivated for a custom field, but an existing user is opened the custom field:

  • is visible when it should not
  • is editable when it should not

Reproduction path:

  1. Open Redmine as administrator
  2. Change to view "Administration / Custom fields"
  3. Create boolean custom field
    • name: isActive
    • description: whatever
    • default value: no
    • URL value: leave empty
    • display: Checkbox
  4. Unset custom field properties in the same view
    • visible: _
    • editable: _
  5. Save new custom field
  6. Change to view "Administration / Users" and select any user
  7. The selected user view contains the created custom field "isActive" which is both visible and editable.

Expectation: The selected user view hides the custom field

The affected version is v4.2.3.

Thank you for your attention and your work!


journals

It is the expected behavior.

Users with administrator privilege bypass all permission checks, so "Visible" and "Editable" checkboxes have no effects for them.
--------------------------------------------------------------------------------
Go MAEDA wrote:
> It is the expected behavior.
>
> Users with administrator privilege bypass all permission checks, so "Visible" and "Editable" checkboxes have no effects for them.

Oh, then my apologies for the extra ticket and my thanks for the swift reply as well! Did I miss the documentation for this behavior then? Maybe the docs on custom fields could use a small clarification. Can I help out here?
--------------------------------------------------------------------------------
Boris Schaa wrote:
> Did I miss the documentation for this behavior then? Maybe the docs on custom fields could use a small clarification. Can I help out here?

Sorry, I don't know where the behavior is documented. Maybe documents should be improved.

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

Admin Redmine さんがほぼ4年前に更新

  • カテゴリCustom fields_14 にセット

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

いいね!0
いいね!0