Toggle the horizontal menu.
Choose the export format from the list below:
Filter
Export as Portable Document Format (PDF) using the Web Browser
Export as HyperText Markup Language (HTML)
How to get the space object to set the permission on a space. Could you please give the equivalent of the 1st line in the snippet above
To set permissions for wiki or space you need to add XWiki.XWikiGlobalRights object for WebPreferences page. Something like:
This will set the properties for a local group (local mean with scope in the wiki).How to do if you want to set properties for a global group ? (Like when you are on the panel "Wiki Administration: Rights" and you select "Search Scope = Global")
Thanks.
How to get the space object to set the permission on a space. Could you please give the equivalent of the 1st line in the snippet above
To set permissions for wiki or space you need to add XWiki.XWikiGlobalRights object for WebPreferences page. Something like:
#set ($rightsObject = $mydoc.getObject("XWiki.XWikiGlobalRights", true))
## Set the values of the fields
#set ($result = $rightsObject.set("groups", "XWiki.XWikiAdminGroup"))
#set ($result = $rightsObject.set("levels", "edit"))
#set ($result = $rightsObject.set("users", ""))
#set ($result = $rightsObject.set("allow", 1))
...
This will set the properties for a local group (local mean with scope in the wiki).
How to do if you want to set properties for a global group ?
(Like when you are on the panel "Wiki Administration: Rights" and you select "Search Scope = Global")
Thanks.