Wiki source code of Rights Proposal Summary

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

Show last authors
1 {{velocity}}
2 #set ($ok = $xwiki.ssx.use("Improvements.Rights51Space"))
3 #set ($ok = $xwiki.ssx.use("Improvements.RightsProposal"))
4 {{/velocity}}
5
6 = Rights Proposal =
7
8 [[[[image:rightsProposal.png||style="float: right;" width="600px;"]]>>Rights51Space]]
9
10 {{toc/}}
11
12 == Users/Groups ==
13
14 === Adding users ===
15
16 * Existing groups declarations
17 [[image:addU1.png]]
18 * Adding user "evalica" using the auto-suggest
19 [[image:addU2.png]]
20 * Enter or hit the (+) button
21 [[image:addB.png]]
22 * **Modified fields (users/rights) are marked highlighted, the "Save/Reset" actions are shown (they will disappear after save)**
23 [[image:addU3.png]]
24
25 === Removing users ===
26
27
28
29 * Hover on the desired user/group. Click on the "X" ("Remove users")
30 * Obs: If the users have not been added at this level, they cannot be deleted here. If it have been changed at this level, and present at a upper level, it could be reverted to inheritance.
31 [[image:removeU1.png]]
32
33 == Basic / Advanced Mode ==
34
35 * Obs. we could even limit access to advanced mode to advanced users, like what we do with the edit menu
36 * Changing common rights will be allowed in collapsed mode and expanded mode, but changing other/extended rights will only be allowed in expanded view
37
38 === Basic Mode ===
39
40 * presents the common rights (V/C/E/D/A/(R)) using icons, and a last icon signals that other/extended rights are in use
41 * has the information regarding the origin of inheritance put in the tooltip
42
43 [[image:evalicaBasic.png]]
44
45 === Advanced Mode ===
46
47 * has a special column that displays simultaneously what inheritance has been overwritten, both in terms of allowance and origin
48
49 [[image:evalicaAdvanced.png]]
50
51 === Switching between modes ===
52
53 * Rows could be expanded individually or globally so if you want a more detailed information, you may reach it either for a single user or all at once
54
55 ==== Individually ====
56
57 * switch link appear on row hover
58 [[image:basicToAdvanced.png]]
59 [[image:advancedToBasic.png]]
60
61 ==== Globally ====
62
63 [[image:switchMode.png]]
64
65 == Rights ==
66
67 === Rights Representation ===
68
69 * Rights have 2 different representations, depending on the mode they are viewed in: basic or advanced;
70
71 ==== Basic Rights ====
72
73 [[image:icons.png||style="float: right;"]]
74
75 * Basic rights (view, comment, edit, delete, admin, (register) ) are represented using an explicit icon
76 ** inherited status is represented by using a grayed icon representation
77 ** allow and deny status are represented by using additional (+/-) marks
78
79 * Inheritance information is displayed on hover
80 [[image:basicHover.png]]
81
82 ==== Advanced Rights ====
83
84 [[image:evalicaAdvanced.png]]
85 [[image:otherRights.png||style="float: right;"]]
86
87 * advanced rights include also other/extended rights (ex. captchComment, applicationX)
88 * advanced rights also have textual description of their name and inheritance status is represented in it's own column
89 ** common rights keep their basic icon representation;
90 ** other/extended rights use the standard inheritance/allow/deny icons
91 [[image:rightsExample.png||style="float: right;"]]
92
93 * advanced rights text color have 3 statuses:
94
95 {{html}}
96 <span class="inheritedRight"><span class="tooltipHint">inherited</span></span>, <span class="allowRight"><span class="tooltipHint">allow</span></span>, <span class="denyRight"><span class="tooltipHint">deny</span></span>
97 {{/html}}
98
99 === Changing Rights ===
100
101 * rights can be changed when **clicked** on their representative icon
102 * there are 3 values a user can choose from: inherited value, allow rights, deny right
103 [[image:rightClickValues.png]]
104
105 == Filters ==
106
107 * Has pagination, sorting (users column) and column filters (showing local/global user/group and types of right statuses)
108 * Collapsed:
109 [[image:filterscollapsed.png||width="900px"]]
110 * Expanded:
111 [[image:filtersexpanded.png||width="900px"]]
112
113 == Level Navigation ==
114
115 * to **Add**: "Click to add level" -> Input -> Enter
116 [[image:addL.png]]
117 * to **Change level**: Click on the Level
118 * to **Remove**: X ("Remove level")
119 [[image:removeL.png]]
120
121 **Stages**
122
123 {{html wiki="true"}}
124 <div class="rightsUI" id="xwikiobjects">
125 <div id="admin-page-header">
126 <div class="explicationHeader">
127 <div class="clearfloats" style="height: 10px;"></div>
128 <div class="inheritanceLevel">
129 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
130 <a href="#" title="Global Level">Global</a> <span class="separator">&#0187;</span> <span class="more" title="Click to add level"><a href="#">&hellip;</a></span>
131 </div>
132 <div class="clearfloats" style="height: 10px;"></div>
133 <div class="inheritanceLevel">
134 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
135 <a href="#" title="Global Level">Global</a> <span class="separator">&#0187;</span> <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a><a title="Remove level" href="#" class="tag-tool tag-delete">X</a></span></span> <span class="separator">&#0187;</span> <span class="more" title="Click to add level"><a href="#">&hellip;</a></span>
136 </div>
137 <div class="clearfloats" style="height: 10px;"></div>
138 <div class="inheritanceLevel">
139 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
140 <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a></span></span> <span class="separator">&#0187;</span> <span class="more" title="Click to add level"><a href="#">&hellip;</a></span>
141 </div>
142 <div class="clearfloats" style="height: 10px;"></div>
143 <div class="inheritanceLevel">
144 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
145 <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a></span></span> <span class="separator">&#0187;</span> <span class="more" title="Click to add level"><span title="Space level" class="space"><input type="text" value="space" title=""/></span></span>
146 </div>
147 <div class="clearfloats" style="height: 10px;"></div>
148 <div class="inheritanceLevel">
149 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
150 <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a></span></span> <span class="separator">&#0187;</span> <span class="space" title="Space level"><span class="tag-wrapper"><a href="#">Sandbox</a><a title="Remove level" href="#" class="tag-tool tag-delete">X</a></span></span> <span class="separator">&#0187;</span> <span class="more" title="Click to add level"><a href="#">&hellip;</a></span>
151 </div>
152 <div class="clearfloats" style="height: 10px;"></div>
153 <div class="inheritanceLevel">
154 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
155 <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a></span></span> <span class="separator">&#0187;</span> <span class="space" title="Space level"><span class="tag-wrapper"><a href="#">Sandbox</a><a title="Remove level" href="#" class="tag-tool tag-delete">X</a></span></span> <span class="separator">&#0187;</span> <span title="Page level" class="page"><input type="text" value="page" title=""/></span>
156 </div>
157 <div class="clearfloats" style="height: 10px;"></div>
158 <div class="inheritanceLevel">
159 <span class="inheritedRight"><span class="help" style="cursor: help;" title="Rights are inherited if they are set in a higher hierarchy level. For example, a Page inherits all rights set for the Space it belongs to and also all the rights set for the Wiki it belongs to. The same happens for a User whom inherits all rights set for the Group he is part of">Inheritance</span></span> Level:
160 <span class="wiki" title="Wiki level"><span class="tag-wrapper"><a href="#">XWiki</a></span></span> <span class="separator">&#0187;</span> <span class="space" title="Space level"><span class="tag-wrapper"><a href="#">Sandbox</a><a title="Remove level" href="#" class="tag-tool tag-delete">X</a></span></span> <span class="separator">&#0187;</span> <span class="page" title="Page level"><span class="tag-wrapper"><a href="#">Sandbox Test Page 2</a><a title="Remove level" href="#" class="tag-tool tag-delete">X</a></span></span>
161 </div>
162 <div class="clearfloats" style="height: 10px;"></div>
163 </div>
164 <div class="clearfloats"></div>
165 </div>
166 </div>
167 {{/html}}
168
169 {{info}}
170 Thanks for reading this proposal. Feedback is very welcomed.
171 {{/info}}

Get Connected