Project

General

Profile

Actions

Feature #2995

closed

Improve error message when trying to access an archived project

Feature #2995: Improve error message when trying to access an archived project

Added by Will Marshall over 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
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 1 (0 open — 1 closed)

Related to Redmine - Feature #4202: Allow viewing of tickets for archived projectsClosedActions

Updated by James Robertson over 17 years ago Actions #1

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.

Updated by Eric Davis over 17 years ago Actions #2

  • 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.

Updated by Jean-Philippe Lang about 17 years ago Actions #3

  • 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

Updated by Jean-Philippe Lang about 17 years ago Actions #4

  • Tracker changed from Defect to Feature

Updated by James Robertson about 17 years ago Actions #5

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

Updated by Jean-Philippe Lang about 16 years ago Actions #6

  • 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: PDF Atom