プロジェクト

全般

プロフィール

Vote #81727

未完了

Required field does not marked as required when user has multiple roles with different rules

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

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

0%

予定工数:
category_id:
41
version_id:
0
issue_org_id:
36278
author_id:
147409
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[New]

説明

In workflow permissions, when someone has multiple roles, suppose for a desired field, at least one rule is 'empty' (means default permission), and one is 'required'.
We expect this field to be required when editing, but it does not.


journals

Please remove invalid attachment. This is the true one
--------------------------------------------------------------------------------
salman mp wrote:
> In workflow permissions, when someone has multiple roles, suppose for a desired field, at least one rule is 'empty' (means default permission), and one is 'required'.
> We expect this field to be required when editing, but it does not.

I don't think it is a defect. In my understanding, an empty value does not mean that there are no *permissions*, but means there are no *restrictions*. In other words, there are all permissions.

In the case you have illustrated, the user has all permissions, so the field must not be marked as required.
--------------------------------------------------------------------------------
Go MAEDA wrote:

> I don't think it is a defect. In my understanding, an empty value does not mean that there are no *permissions*, but means there are no *restrictions*. In other words, there are all permissions.
>
> In the case you have illustrated, the user has all permissions, so the field must not be marked as required.

I think in this case it is necessary to display the field as required, because it seems that the priority of "required" should be more than "no restriction" and the priority of "no restriction" should be more than "read only".

Note that when a user has multiple roles, he or she should have the highest permissions set on each field. Is that right?

Now (implemented):
<pre>read_only + required -> required</pre>
Based on that, we expect:
<pre>
no-restriction + required -> required
no-restriction + read_only -> no-restriction
</pre>
--------------------------------------------------------------------------------

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

  • カテゴリIssues workflow_41 にセット

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

いいね!0
いいね!0