プロジェクト

全般

プロフィール

Vote #80894

未完了

Assigning and updating the issue is giving permision error.

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

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

0%

予定工数:
category_id:
2
version_id:
0
issue_org_id:
33514
author_id:
460104
assigned_to_id:
0
comments:
3
status_id:
1
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
160
ステータス-->[New]

説明

Recently updated from 3.x to 4.1.1

We have a project with a role set as Issue visibility "Issues created by or assigned to the user" and all the users are using the same role.

UserA assigns to the ticket to UserB (both of them can see the ticket). UserB adds comments and sets the assignee back to UserA and then clicks Submit, here the ticket is giving error "Issue is Invalid" and the ticket doesn't get updated.

Please note that this was working perfectly fine in 3.4 master and the issue occurred after the update to 4.1.


journals

I just noticed that we were using #14318 patch on 3.4. It's really strange that this patch is available since 2.2 and not yet part of the core redmine yet!
--------------------------------------------------------------------------------
Jobin Joseph wrote:
> I just noticed that we were using #14318 patch on 3.4. It's really strange that this patch is available since 2.2 and not yet part of the core redmine yet!

The patch was rejected because the behavior may confuse users. See #14318#note-23 and #7412#note-13.
--------------------------------------------------------------------------------
Without the patch, the redmine is almost unusable for us with the configuration mentioned in the description. We have applied the patch again and it worked on 4.1.1.

The watcher and whoever worked on that ticket should have the visibility on the ticket. AS I explained in the ticket, users are considered as staff and they don't have access to all the tickets of the projects. So the issue visibility on the role is set as "Issues created by or assigned to the user"

>>UserA assigns to the ticket to UserB (both of them can see the ticket). UserB adds comments and sets the assignee back to UserA and then clicks Submit, here the ticket is giving error "Issue is Invalid" and the ticket doesn't get updated.

To be honest, if this isn't a bug, redmine shouldn't be having the visibility option as "Issues created by or assigned to the user". Anyone using this visibility will face this issue and patch is the only solution to this.
--------------------------------------------------------------------------------

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

  • カテゴリIssues_2 にセット

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

いいね!0
いいね!0