Wiki source code of Editing profiles: Simple vs. Advanced
Version 20.1 by Pauline Bessoles on 2025/04/17
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | Because XWiki is an [[application wiki>>url:https://www.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki]], not all users need to use advanced features. Some users only need to focus on creating content, while others want to structure content by creating complex applications. That's why XWiki supports two types of profiles—**Simple** and **Advanced**—to accommodate those different user needs. By default, new users are assigned the Simple profile, but this can be changed from the [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] (accessible via the top-right menu when logged in). | ||
2 | |||
3 | Depending on the profile type a user has, the editing capabilities are different. | ||
4 | |||
5 | {{id name="HSimpleMode"/}} | ||
6 | |||
7 | == Simple user == | ||
8 | |||
9 | {{image reference="Documentation.UserGuide.Features.PageEditing.WebHome@EditSimpleModeFlamingo.png"/}} | ||
10 | |||
11 | Clicking on the "Edit" button has the following behavior for a "Simple" user: | ||
12 | |||
13 | * If the page is displayed by a sheet (e.g., has an associated object with a sheet), then the page is edited in [[Inline form>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]] edit mode. | ||
14 | * If the page is a plain wiki page (i.e., doesn't use a sheet): | ||
15 | ** If WYSIWYG is the preferred editor //and// the page syntax supports it, editing happens [[in-place>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HIn-placeediting"]]. | ||
16 | ** Otherwise, editing defaults to [[Wiki edit mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HWikieditingmode"]]. | ||
17 | |||
18 | {{id name="HAdvancedMode"/}} | ||
19 | |||
20 | == Advanced user == | ||
21 | |||
22 | The Advanced profile provides access to all editing modes, intended for users familiar with XWiki internals and programming features. After switching to the Advanced profile from the [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] page, the **Edit** button reveals a dropdown with the following options: | ||
23 | |||
24 | * Wiki: Edit raw wiki content. | ||
25 | * [[Form Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HFormeditingmode28akainlinemode29"]]: Edit page content via form when a sheet is available. | ||
26 | * [[Object Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HObjectseditingmode"]]: Edit objects attached to the page. | ||
27 | * [[Class Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HClasseseditingmode"]]: Edit the class definition of the page. | ||
28 | * [[Access Rights Editing Mode>>Documentation.UserGuide.Features.PageEditing.WebHome||anchor="HAccessRightseditingmode"]]: Available for [[Terminal pages>>Documentation.UserGuide.Features.ContentOrganization||anchor="HTerminology"]] only. For [[Nested Pages>>Documentation.UserGuide.Features.ContentOrganization||anchor="HTerminology"]], use **Administer Page** under **More Actions** (three-dot menu). | ||
29 | |||
30 | {{image reference="EditAdvancedMode.png"/}} | ||
31 | |||
32 | === Related pages === | ||
33 | |||
34 | * [[User types>>extensions:Extension.User Module.User Profile Application.UserTypes.WebHome]] | ||
35 | * [[User Profile application>>https://extensions.xwiki.org/xwiki/bin/view/Extension/User%20Module/User%20Profile%20Application/]] |