Wiki source code of Rights UI Proposal 4
Last modified by Vincent Massol on 2024/11/19 16:13
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | = Interaction = |
| 2 | |||
| 3 | {{box cssClass="floatinginfobox" title="**Prototypes v4**"}} | ||
| 4 | * [[Wiki Level>>Rights4Wiki]] | ||
| 5 | * [[Space Level>>Rights4Space]] | ||
| |
3.1 | 6 | |
| |
19.1 | 7 | * [[Inheritance Wiki Level>>Rights41Wiki]] |
| 8 | * [[Inheritance Space Level>>Rights41Space]] | ||
| |
5.1 | 9 | |
| |
6.1 | 10 | * [[Summary Wiki Level>>Rights42Wiki]] |
| 11 | * [[Summary Space Level>>Rights42Space]] | ||
| |
1.1 | 12 | {{/box}} |
| 13 | |||
| |
14.1 | 14 | {{box cssClass="floatinginfobox" title="**Discussions**"}} |
| 15 | [[[Proposal] Rights Management UI>>http://markmail.org/thread/zgzufskvhe6xt6ey]] | ||
| 16 | {{/box}} | ||
| 17 | |||
| |
1.1 | 18 | {{toc/}} |
| 19 | |||
| 20 | == Remarks == | ||
| |
27.2 | 21 | |
| |
1.1 | 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 ==== | ||
| |
27.2 | 39 | |
| |
1.1 | 40 | [[image:Rights4Wiki1.png||width="900px"]] |
| 41 | |||
| 42 | ==== All rights can be dragged to the desired status - Hover on "Edit" ==== | ||
| |
27.2 | 43 | |
| |
1.1 | 44 | [[image:Rights4Wiki2.png||width="900px"]] |
| 45 | |||
| |
27.2 | 46 | ==== "Edit" right has been dragged to the "Deny" column, being in this way overridden ==== |
| 47 | |||
| |
1.1 | 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 ==== | ||
| |
27.2 | 51 | |
| |
1.1 | 52 | [[image:Rights4Wiki4.png||width="900px"]] |
| 53 | |||
| 54 | === Space Level === | ||
| 55 | |||
| |
27.2 | 56 | ==== Only available rights (without "register", "programming") are shown with their "inherited"(yellow) /"default"(normal) state ==== |
| 57 | |||
| |
1.1 | 58 | [[image:Rights4Space1.png||width="900px"]] |
| 59 | |||
| 60 | ==== We can see from where we have the inheritance (yellow down arrow) ==== | ||
| |
27.2 | 61 | |
| |
1.1 | 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 ==== | ||
| |
27.2 | 69 | |
| |
1.1 | 70 | [[image:Rights4Wikie1.png||width="900px"]] |
| 71 | |||
| 72 | === Space Level === | ||
| 73 | |||
| 74 | ==== "Register Users" rights for Space level (without "register", "programming") ==== | ||
| |
27.2 | 75 | |
| |
1.1 | 76 | [[image:Rights4Spacee1.png||width="900px"]] |
| 77 | |||
| 78 | ==== Adding "evalica" user, "Register Users" rights are inherited ==== | ||
| |
27.2 | 79 | |
| |
1.1 | 80 | [[image:Rights4Spacee2.png||width="900px"]] |
| 81 | |||
| 82 | ==== Drag the rights in the wanted position ==== | ||
| |
27.2 | 83 | |
| |
1.1 | 84 | [[image:Rights4Spacee3.png||width="900px"]] |
| 85 | |||
| 86 | ==== We can see from where the user has the inheritance (yellow down arrow) ==== | ||
| |
27.2 | 87 | |
| |
1.1 | 88 | [[image:Rights4Spacee4.png||width="900px"]] |
| 89 | |||
| |
21.1 | 90 | = Inheritance = |
| |
1.1 | 91 | |
| |
21.1 | 92 | * This is how the inheritance is gonna be displayed, according to the current XWiki rights implementation |
| 93 | |||
| |
22.1 | 94 | == Inheritance Wiki View == |
| |
27.2 | 95 | |
| |
23.1 | 96 | [[[[image:wiki41.png||width="900px"]]>>Rights41Wiki]] |
| |
1.1 | 97 | |
| |
22.1 | 98 | == Inheritance Space View == |
| |
27.2 | 99 | |
| |
25.1 | 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 |
| |
23.1 | 101 | [[[[image:space41.png||width="900px"]]>>Rights41Space]] |
| |
24.1 | 102 | |
| |
27.2 | 103 | = Summary View = |
| |
24.1 | 104 | |
| 105 | == Summary Wiki View == | ||
| |
27.2 | 106 | |
| |
24.1 | 107 | [[[[image:wiki42View.png||width="900px"]]>>Rights42Wiki]] |
| 108 | |||
| 109 | == Summary Space View == | ||
| |
27.2 | 110 | |
| |
24.1 | 111 | [[[[image:space42View.png||width="900px"]]>>Rights42Space]] |