1,407
edits
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
*Drakos | *Drakos | ||
<noinclude> | <noinclude> | ||
==Documentation== | ==Usage== | ||
<p><b>At the moment this option is disable which means that currently the <i><accesscontrol</i> tag is not working!!</b></p> | |||
Use at the top of a page the following: | |||
<pre><accesscontrol>Control_access:Administrators</accesscontrol></pre> | |||
when you want this group only to be able to read and edit a page. | |||
<br /> | |||
Use at the top of a page the following: | |||
<pre><accesscontrol>Control_access:Administrators(ro)</accesscontrol></pre> | |||
when you want this group only to be able only to read(ro - read only). | |||
==Documentation - Creating more user groups such as this== | |||
===Create User Groups=== | ===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. | 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: Control_access:My_administrators | |||
*** The namespace is Control_access | |||
*** The group page is My_administrators | |||
**** 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> | <pre> | ||
*John Doe | *John Doe |