Cyberkids:Administrators: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
no edit summary
(Created page with "<accesscontrol>Control_access:Administrators</accesscontrol> *Soteris Demetriou")
 
No edit summary
Line 1: Line 1:
<noinclude>
==Documentation==
===Create User Groups===
User groups are simply standard wiki pages that are part of a namespace other than the default namespace. For ease of use, it is suggested that a specific custom namespace be created for the explicit purpose of managing access control list pages.
Create a Wiki-Page with users list in any namespace
It is not sufficient to simply create a page with a colon (:) in the name, this extension requires the use of a namespace and one or more pages within namespaces
Page Name Example: My:Group
The namespace is My
The group page is Group
This is the name of usergroup
Users are added to the group in a bulletlist
Page Content Example
Presume that the namespace IT exists
Create a page in the namespace titled "Department"
Create users "John Doe" and "Jane Doe" in the group. The group information is contained on the page "Department".
Each user name appears as a list item.
<pre>
*John Doe
*Jane Doe (ro)
</pre>
User from a group, which have appended string "(ro)" to the name can only read protected Article, but can't edit it. For other group of users you can create memberlist with name Department too, but in other namespace.
===Usage on Pages to Control Access===
That is for the installation. To restrict access on a page for specific usergroups, just include the names of the allowed usergroups (separated by commas) as the content of accesscontrol tag in the body of that page. Thus, if you wanted to restrict access to the people with groups "Administrators", "IT:Department" and "Sales", you would use the following syntax:
<pre> <accesscontrol>Administrators,IT:Department,Sales (ro)</accesscontrol> </pre>
IT:Department is usergroup, and groups Administrators and Sales may be added by Extension:GroupPermissionsManager. Members from group Sales page can read only.
</noinclude>
<accesscontrol>Control_access:Administrators</accesscontrol>
<accesscontrol>Control_access:Administrators</accesscontrol>
*Soteris Demetriou
*Soteris Demetriou
*Laouris
*Drakos

Navigation menu