Vote #64900
完了Improve error message when trying to access an archived project
0%
説明
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