プロジェクト

全般

プロフィール

Vote #77961

完了

Show action not allowed for time entries in closed projects

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

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

0%

予定工数:
category_id:
17
version_id:
124
issue_org_id:
24297
author_id:
3866
assigned_to_id:
1
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

It is currently not possible to @GET /time_entries/123.xml@ for closed projects even with the correct permissions.

In the @TimelogController@ currently checks if the time entry is editable for the current user on @show@, @edit@ and @update@. This means @show@ doesn't work for closed projects as the time entry is then not editable.


journals

The attached patch is a proposal to fix this problem.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fix committed with a test, thanks.
--------------------------------------------------------------------------------

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

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

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

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

いいね!0
いいね!0