Feature #2995
closedImprove error message when trying to access an archived project
0%
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
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.
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.
Updated by Jean-Philippe Lang about 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
Updated by Jean-Philippe Lang about 15 years ago
- Tracker changed from Defect to Feature
Updated by James Robertson about 15 years ago
[Please also refer to related feature request: #4202]
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.