プロジェクト

全般

プロフィール

Vote #76270

完了

Field permissions not working properly with inherited memberships

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

ステータス:
Closed
優先度:
急いで
担当者:
-
カテゴリ:
Permissions and roles_17
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
17
version_id:
93
issue_org_id:
19569
author_id:
121631
assigned_to_id:
1
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
80
ステータス-->[Closed]

説明

I have a tree of projects, were groups and permissions are assigned in the top of the tree and projects inherit members.

I have several fields (custom and non-custom) which are not required, but required in several Status.

I haven't figured how to 100% reproduce it, but when assigning a user in several groups, and those groups different roles (ex. group developers, groups project managers, with role developer and project manager), the required fields depending on the status are no longer REQUIRED.

Configuration of the fields permission workflow is exactly the same in the role developer and project manager. On the Fields permissions Workflow I can see the "Required" keyword on the fields when filtering by role "all".

This issue is quite important as we depend on giving permissions to that structure.


journals

I checked that a same user has assigned the same role by directly assigning the role in the group, and also because he is inheriting it, this issue is happening.

I looks like this is the cause, and not that the user is in multiple groups.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r14179. Thanks for pointing this out.
--------------------------------------------------------------------------------
Thanks for the fix!

Expecting version 3.0.2 :)

I hope this issue fixes all the possible variations that cause the fix!
--------------------------------------------------------------------------------

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

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


related_issues

duplicates,Closed,25258,Field permissions ignored if the user and the group one belongs to share the same role

Admin Redmine さんが約4年前に更新

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

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

いいね!0
いいね!0