Wiki source code of Prevent User From XClass Refactoring
Last modified by Vincent Massol on 2024/02/26 17:54
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | This design page is created to discuss about the way we implement a mechanism in order to avoid users comitting bad refactoring by renaming/moving/deleting pages that contained used XClass. | |
5.1 | 2 | ||
3 | We propose to manage differently when user are advanced or simple: | ||
4 | |||
5 | * Advanced user are authorized to do the refactoring with a warning | ||
6 | * Simple user are forbidden to do the refactoring. | ||
7 | |||
8 | ((( | ||
9 | Here's some screenshot about a proposed UI. | ||
10 | |||
11 | |||
12 | |||
13 | ==== Advanced user ==== | ||
14 | ))) | ||
15 | |||
16 | [[image:menu_rename_advanceduser.png||alt="When advanced user try to refactor a page with an XClass"]] | ||
17 | |||
18 | ==== Simple user ==== | ||
19 | |||
20 | [[image:menu_rename_simpleuser.png||alt="Simple user trying to refactor a page with XClass"]] | ||
21 | |||
22 | ==== Canceled question ==== | ||
23 | |||
24 | [[image:menu_rename_cancelled.png]] |