プロジェクト

全般

プロフィール

Vote #74869

完了

Unexpected behaviour on issue fields for users that have multiple roles

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

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

0%

予定工数:
category_id:
41
version_id:
80
issue_org_id:
15988
author_id:
26413
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
77
ステータス-->[Closed]

説明

To explain this possible defect let me explain this situation.
We have dozens of projects on which are defined mixed teams of users. We have defined roles for those projects&users.
I will focus on just those facts that matters this issue:

  • We have one role that enables users to view just documents and nothing else (lets name it DocViewer).
  • We have another role that enables user to report an issue and nothing else (lets name it IssueReporter).
  • We have user (User1) that have both roles on some project
  • We have defined field restrictions on workflow for IssueReporter on some field. For example we want to force users that owns role IssueReporter to fill some data at custom field (lets name it SomeRequiredField). That was done through workflow for role IssueReporter (on all trackers) by setting Requred attribute on SomeRequredField.

So we expected that User1 will be forced to fill up SomeRequiredField, but it is not happening. User1 still can skip that required field. Reason for this is that the User1 has also role DocViewer. Please note that this role have not any specific workflow nor field restrictions defined.

Conclusion:
It would be expected that roles that have not assigned permissions for adding or updating issues should not make any influence on field restrictions (and worflows also) in situations when user owns multiple roles.


journals

Any updates on this issue? Is this defect fixed in recent Redmine versions?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Can you reconsider fixing this Defect in near future?
In my opinion this defect is realy serious.
--------------------------------------------------------------------------------

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

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

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

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

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

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


related_issues

relates,Closed,33059,"Role" dropdown in Workflow page is unexpectedly expanded when selecting "all"
precedes,New,34570,Misleading workflow/permission issue
precedes,New,34284,In Role edit view the per tracker table only shows up when "View Issues" permission is selected

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

  • カテゴリIssues workflow_41 にセット
  • 対象バージョン3.0.0_80 にセット

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

いいね!0
いいね!0