Project

General

Profile

Actions

Feature #2995

closed

Improve error message when trying to access an archived project

Added by Will Marshall over 15 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
Start date:
2009-03-18
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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)


Related issues

Related to Redmine - Feature #4202: Allow viewing of tickets for archived projectsClosed2009-11-12

Actions
Actions #1

Updated by James Robertson over 15 years ago

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.

Actions #2

Updated by Eric Davis over 15 years ago

  • Status changed from New to 7
  • Assignee set to Eric Davis

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.

Actions #3

Updated by Jean-Philippe Lang almost 15 years ago

  • Subject changed from 403 error thrown when trying to access an issue within an Archived project to Improve error message when trying to access an archived project
Actions #4

Updated by Jean-Philippe Lang almost 15 years ago

  • Tracker changed from Defect to Feature
Actions #5

Updated by James Robertson almost 15 years ago

[Please also refer to related feature request: #4202]

Actions #6

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from 7 to Closed
  • Assignee deleted (Eric Davis)
  • Target version set to 1.1.0
  • Resolution set to Fixed

Done in r4285.

Actions

Also available in: Atom PDF