プロジェクト

全般

プロフィール

Vote #64900

完了

Improve error message when trying to access an archived project

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

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Projects_11
対象バージョン:
開始日:
2009/03/18
期日:
進捗率:

0%

予定工数:
category_id:
11
version_id:
20
issue_org_id:
2995
author_id:
4547
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

If you try to access an issue that is inside a project that has been archived Redmine throws a 403 error. This is confusing: perhaps Redmine should tell the user that the project in question has been archived instead? E.g.

"This project has been archived. To access this issue you will need to unarchive the issue at /admin/projects".

(The code in question is at line 233 inside user.rb (inside def allowed_to?) where Redmine checks to see if the parent project of the requested issue is active and returns a 403 if not)


journals

Alternatively, it would be good to have a way of 'closing' projects (to new tickets and from projects listings), but to still allow existing tickets to be viewed.

--------------------------------------------------------------------------------
I think the best option would be to tell the user that the project was archived. I archive projects when they are closed to prevent people from working on them.
--------------------------------------------------------------------------------

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

--------------------------------------------------------------------------------
[Please also refer to related feature request: #4202]
--------------------------------------------------------------------------------
Done in r4285.
--------------------------------------------------------------------------------


related_issues

relates,Closed,4202,Allow viewing of tickets for archived projects

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

  • カテゴリProjects_11 にセット
  • 対象バージョン1.1.0_20 にセット

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

いいね!0
いいね!0