Actions
Patch #35610
closedCleanups after Wiki tab removal from project settings (#26579)
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Description
This is extracted from #34643.
- 1. Remove '
edit
' action from:manage_wiki permission
definition inRedmine::AccessControl
.Wikis#edit
is removed by r17018.- 2. Redirect_to
project_path
afterWikisController#destroy
.- 3. Set
:wiki
menu_item
forWikisController#destroy
.
This action is executed inside the project wiki scope after r16916, thus we can better set themenu_item
accordingly.
Files
Related issues
Updated by Marius BĂLTEANU over 3 years ago
- Copied from Patch #34643: Cleanups and fixes after Wiki tab removal from project settings (#26579) added
Updated by Marius BĂLTEANU over 3 years ago
- File deleted (
0004-Disable-the-wiki-module-after-deletion-of-a-project-.patch)
Updated by Marius BĂLTEANU over 3 years ago
- File deleted (
0005-Changed-wiki-start_page-name-to-I18n-ed-field_start_.patch)
Updated by Marius BĂLTEANU over 3 years ago
- Status changed from New to Closed
Patches committed, thank you.
Updated by Mischa The Evil over 3 years ago
- Status changed from Closed to Reopened
Thanks for handling this. Now that I've had a second look at this though, I noticed that the remaining 'edit' JavaScript view (source:/trunk/app/views/wikis/edit.js.erb) is obsolete too and that it can be removed. Can this be handled via this issue (without a patch from me) too?
Updated by Marius BĂLTEANU over 3 years ago
- Status changed from Reopened to Closed
Mischa The Evil wrote:
Thanks for handling this. Now that I've had a second look at this though, I noticed that the remaining 'edit' JavaScript view (source:/trunk/app/views/wikis/edit.js.erb) is obsolete too and that it can be removed. Can this be handled via this issue (without a patch from me) too?
View removed in r21105, thanks.
Actions