Wiki source code of User specific interface
Last modified by Vincent Massol on 2024/11/19 16:12
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{toc start="3"/}} | ||
| 2 | |||
| 3 | The idea is to extend and make more visible the different types of users in XWiki (for the moment : basic/advanced). When creating a new user, this type would not be set. If the context user has no type set something like this would appear on Main.WebHome : | ||
| 4 | |||
| 5 | {{html clean="false" wiki="true"}} | ||
| 6 | <style> | ||
| 7 | pre { | ||
| 8 | font-family: monospace; | ||
| 9 | } | ||
| 10 | </style> | ||
| 11 | {{/html}} | ||
| 12 | |||
| 13 | {{code}} | ||
| 14 | Hey there! Welcome to XWiki! | ||
| 15 | First, please tell us what kind of wiki user your are (click on the corresponding box) : | ||
| 16 | |||
| 17 | ----------------------- ----------------------- ----------------------- | ||
| 18 | | Wiki novice | | Wiki expert | | Wiki developer | | ||
| 19 | | | | | | | | ||
| 20 | | I've never used a | | I know what minor | | I want to see the | | ||
| 21 | | wiki before, bla | | edit and page | | xwiki development | | ||
| 22 | | bla bla, etc | | access rights means | | capabilities | | ||
| 23 | | | | | | | | ||
| 24 | ----------------------- ----------------------- ----------------------- | ||
| 25 | {{/code}} | ||
| 26 | |||
| 27 | If the user has the Admin rights the [[administration section>>Design.Improved Wiki Administration]] will always been displayed no matter the user type he choosed. | ||
| 28 | |||
| 29 | === User types === | ||
| 30 | |||
| 31 | ==== Wiki novice (default) ==== | ||
| 32 | |||
| 33 | Hide everything except the ultra basic features; which means hiding : | ||
| 34 | |||
| 35 | * the "Show" topmenu entry | ||
| 36 | * the "Action" topmenu entry | ||
| 37 | * edit comment | ||
| 38 | * "isMinorEdit" edit option | ||
| 39 | * "Access rights" edit tab | ||
| 40 | * "Wiki" edit tab | ||
| 41 | |||
| 42 | ==== Wiki expert ==== | ||
| 43 | |||
| 44 | Hide the developement features : | ||
| 45 | |||
| 46 | * "Objects" edit tab | ||
| 47 | * "Class" edit tab | ||
| 48 | |||
| 49 | ==== Wiki developer ==== | ||
| 50 | |||
| 51 | Show every xwiki feature | ||
| 52 | |||
| 53 | ---- | ||
| 54 | |||
| 55 | Dynamic UI elements : | ||
| 56 | |||
| 57 | * topmenu | ||
| 58 | * Edition tabs | ||
| 59 | * Edition defaults | ||
| 60 | * Edition options | ||
| 61 | * Panels ? | ||
| 62 | |||
| 63 | {{info}} | ||
| 64 | implementation : inspired by the Basic/Advanced feature | ||
| 65 | {{/info}} |