プロジェクト

全般

プロフィール

Vote #76146

完了

Custom fields with hidden/read-only combination displayed in Issue Edit Form

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
2
version_id:
93
issue_org_id:
19297
author_id:
54354
assigned_to_id:
1
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
81
ステータス-->[Closed]

説明

Observed Behavior

  • UserA has two roles, RoleA and RoleB.
  • CustomFieldA is hidden from RoleB. (In Custom Field Edit form, RoleB is unchecked for Visible.)
  • However, CustomFieldA is visible to RoleA.
  • In the Workflow, CustomFieldA is set as @Read-Only@ for RoleA.
  • UserA can edit TrackerA.
  • In the Issue Edit form, CustomFieldA is displayed. However, any input is ignored (as the @Read-Only@ rule prevents it from being processed.)

Desired/Expected Behavior

  • In the Issue Edit form, CustomFieldA should not be displayed.

Workaround

  • Allow RoleB to view CustomFieldA.
  • In the Workflow, set CustomFieldA as @Read-Only@ for RoleB.
  • The UI code correctly does not display @Read-Only@ fields.
Environment:
  Redmine version                2.6.0.stable
  Ruby version                   1.9.3-p484 (2013-11-22) [x86_64-linux]
  Rails version                  3.2.19
  Environment                    production
  Database adapter               Mysql2

journals

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

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

Admin Redmine さんが3年以上前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン2.6.4_93 にセット

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

いいね!0
いいね!0