Project

General

Profile

Actions

Patch #35610

closed

Cleanups after Wiki tab removal from project settings (#26579)

Added by Marius BĂLTEANU almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
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 in Redmine::AccessControl.
    Wikis#edit is removed by r17018.
  • 2. Redirect_to project_path after WikisController#destroy.
    • Project settings 'wiki' tab is removed by r16917 & r17017.
    • This action is executed outside the project settings scope after r16916, thus we can better redirect to project_path.
  • 3. Set :wiki menu_item for WikisController#destroy.
    This action is executed inside the project wiki scope after r16916, thus we can better set the menu_item accordingly.

Files


Related issues

Copied from Redmine - Patch #34643: Cleanups and fixes after Wiki tab removal from project settings (#26579)Closed

Actions
Actions

Also available in: Atom PDF