Wiki source code of Rights UI Proposal 4

Last modified by Vincent Massol on 2024/11/19 16:13

Show last authors
1 = Interaction =
2
3 {{box cssClass="floatinginfobox" title="**Prototypes v4**"}}
4 * [[Wiki Level>>Rights4Wiki]]
5 * [[Space Level>>Rights4Space]]
6
7 * [[Inheritance Wiki Level>>Rights41Wiki]]
8 * [[Inheritance Space Level>>Rights41Space]]
9
10 * [[Summary Wiki Level>>Rights42Wiki]]
11 * [[Summary Space Level>>Rights42Space]]
12 {{/box}}
13
14 {{box cssClass="floatinginfobox" title="**Discussions**"}}
15 [[[Proposal] Rights Management UI>>http://markmail.org/thread/zgzufskvhe6xt6ey]]
16 {{/box}}
17
18 {{toc/}}
19
20 == Remarks ==
21
22 * Rights have 4 states: Default, Inherited, Allowed, Denied
23 * The columns "Allow Rights" and "Deny Rights" are preserved
24 ** rights in these columns are overridden as "Allow" or overridden as "Deny"
25 * One additional column is added: "Default / Inherited Rights", by default all rights appear in this column
26 ** rights in this column are inherited from parent or are the default XWiki rights
27 * **By using drag'n'drop items are tossed around between "Allow rights", "Deny rights" and "Default / Inherited Rights"**
28
29 * Advantages:
30 ** It helps to see entire and only set of rights user is able to manipulate upfront
31 ** It helps to understand inherited rights
32 ** It gives user a feeling of manipulating physical objects
33
34 == Use Case 1: Group "Unregistered Users" ==
35
36 === Wiki Level ===
37
38 ==== Adding a group adds all rights in their default status ====
39
40 [[image:Rights4Wiki1.png||width="900px"]]
41
42 ==== All rights can be dragged to the desired status - Hover on "Edit" ====
43
44 [[image:Rights4Wiki2.png||width="900px"]]
45
46 ==== "Edit" right has been dragged to the "Deny" column, being in this way overridden ====
47
48 [[image:Rights4Wiki3.png||width="900px"]]
49
50 ==== Drag the rights in the position you want - dragging them to the "Default / Inherited Rights" resets the overriding ====
51
52 [[image:Rights4Wiki4.png||width="900px"]]
53
54 === Space Level ===
55
56 ==== Only available rights (without "register", "programming") are shown with their "inherited"(yellow) /"default"(normal) state ====
57
58 [[image:Rights4Space1.png||width="900px"]]
59
60 ==== We can see from where we have the inheritance (yellow down arrow) ====
61
62 [[image:Rights4Space2.png||width="900px"]]
63
64 == Use Case 2: User "evalica" ==
65
66 === Wiki Level ===
67
68 ==== "Register Users" rights for Wiki level ====
69
70 [[image:Rights4Wikie1.png||width="900px"]]
71
72 === Space Level ===
73
74 ==== "Register Users" rights for Space level (without "register", "programming") ====
75
76 [[image:Rights4Spacee1.png||width="900px"]]
77
78 ==== Adding "evalica" user, "Register Users" rights are inherited ====
79
80 [[image:Rights4Spacee2.png||width="900px"]]
81
82 ==== Drag the rights in the wanted position ====
83
84 [[image:Rights4Spacee3.png||width="900px"]]
85
86 ==== We can see from where the user has the inheritance (yellow down arrow) ====
87
88 [[image:Rights4Spacee4.png||width="900px"]]
89
90 = Inheritance =
91
92 * This is how the inheritance is gonna be displayed, according to the current XWiki rights implementation
93
94 == Inheritance Wiki View ==
95
96 [[[[image:wiki41.png||width="900px"]]>>Rights41Wiki]]
97
98 == Inheritance Space View ==
99
100 * local source of inheritance: if the a right is allowed to anyone else at the same level, it is implicitly disallowed for any others
101 [[[[image:space41.png||width="900px"]]>>Rights41Space]]
102
103 = Summary View =
104
105 == Summary Wiki View ==
106
107 [[[[image:wiki42View.png||width="900px"]]>>Rights42Wiki]]
108
109 == Summary Space View ==
110
111 [[[[image:space42View.png||width="900px"]]>>Rights42Space]]

Get Connected