Wiki source code of Rights UI Requirements

Last modified by Vincent Massol on 2026/08/13 09:36

Show last authors
1 == Use cases ==
2
3 * How do I make my XWiki hidden/private? (only registered users can view/edit)
4 * How do I make my XWiki locked? (admins only can create a new account)
5 * Many mistakes are made when managing rights because:
6 ** the meaning of the different fields is not clear
7 ** which text to enter in the fields is not clear
8 ** the cascading of the rights between xwiki, space and document is not clear
9 * We need the following improvements:
10 ** Easier access to user and groups. Select or add any user or groups. Add to groups on the fly.
11 ** Easier understanding of view/edit/comment/admin rights
12 ** Visual understanding of rights inheritance (rights from the upper level replace or not at the current level)
13 * view all the rights on the wiki (global rights + space specific rights + pages specific rights)
14
15 == Components ==
16
17 * **Visibility**
18 ** Local
19 ** Global
20
21 * **Level**
22 ** Page ( [[XWiki Rights Class>>xwiki:XWiki.XWikiRights]] )
23 ** Space
24 ** Wiki
25
26 * **Status**
27 ** Default(represent it)
28 ** Allow
29 ** Deny
30
31 * **Assignee**
32 ** User
33 *** Unregistered
34 *** Registered
35 ** Group
36
37 * **Actions**
38 ** View existing rights: default, allowed/denied given rights
39 ** Add specific rules
40 ** Remove the specific added rules
41
42 * **Display** in:
43 ** Rights Administration for Wiki Level
44 ** Rights Administration for Space Level
45 ** Rights Administration for Page Level -> Edit - Rights
46 ** User Profile
47
48 * **Extensible Rights**
49
50 == Considerations ==
51
52 * **Describe** more explicit the rights **meaning** (they apply to pages/objects/etc?)
53 ** Remind the user what each right signifies
54 ** Use Details overlays (tooltips) to do that
55 * Rights visualization
56 ** Show **Default** rights
57 ** Show **Inherited** rights(((
58 |The "Edit" right should automatically inherit the "View" right |[[XWIKI-4491>>http://jira.xwiki.org/jira/browse/XWIKI-4491]]
59 |Make inherited rights visible in the Rights Management UI |[[XWIKI-2636>>http://jira.xwiki.org/jira/browse/XWIKI-2636]] + [[XWIKI-3835>>http://jira.xwiki.org/jira/browse/XWIKI-3835]]
60 )))
61 ** Specify that we have rights for document **creators**:(((
62 |"creator" special value for rights management |[[XWIKI-1769>>http://jira.xwiki.org/jira/browse/XWIKI-1769]]
63
64 * They should not go from one view to another, but they should be able to see the inheritance they got from upper levels:
65 ** If users only have the space admin right then they are only directed to the space admin.
66 *** They cannot switch space from this admin.
67 ** Global admin are directed to the usual interface which gives access to the global and space admins.
68 ** An administrator should be able to disable per page access rights.
69 )))
70
71 * Users and groups can be either managed in the **global wiki** (xwiki: prefix) or in the **local wiki**, or in both
72 ** We need a visual way to distinguish the global and local groups (hidding the xwiki: prefix)(((
73 | Configurable Access Rights granularity |[[XWIKI-2183>>http://jira.xwiki.org/jira/browse/XWIKI-2183]]
74 )))
75
76 * **Apply** button for Rights management
77 ** It would be better if we have a "Apply" and "Cancel" buttons so we can do the changes but only commit when we click on the apply/submit button
78
79 |= Users & Groups
80 |Allow checking what groups a user belongs to using the Rights Management UI |[[XWIKI-2449>>http://jira.xwiki.org/jira/browse/XWIKI-2449]]
81 |See to which groups a user belongs to |[[XWIKI-1901>>http://jira.xwiki.org/jira/browse/XWIKI-1901]]
82 |= Filtering
83 | Ability to filter users/groups by granted rights in the new Rights Management UI|[[XWIKI-2410>>http://jira.xwiki.org/jira/browse/XWIKI-2410]]
84 |= Disabling elements
85 | Disable actions that you don't have the right for it
86 | Hide "Export as XAR" from Menu if you don't have Admin rights |[[XE-498>>http://jira.xwiki.org/jira/browse/XE-498]]

Get Connected