1,407
edits
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>Only the following members have access to this page</noinclude> | |||
<accesscontrol>Control_access:Administrators</accesscontrol> | |||
*Soteris Demetriou | |||
*Laouris | |||
*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 | * 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 | ** 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: | ** Page Name Example: Control_access:My_administrators | ||
The namespace is | *** The namespace is Control_access | ||
The group page is | *** The group page is My_administrators | ||
This is the name of usergroup | **** This is the name of usergroup | ||
Users are added to the group in a bulletlist | **** Users are added to the group in a bulletlist | ||
Page Content Example | ** Page Content Example | ||
Presume that the namespace IT exists | *** Presume that the namespace IT exists | ||
Create a page in the namespace titled "Department" | *** 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". | *** 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. | *** Each user name appears as a list item. | ||
<pre> | <pre> | ||
*John Doe | *John Doe | ||
Line 25: | Line 39: | ||
IT:Department is usergroup, and groups Administrators and Sales may be added by Extension:GroupPermissionsManager. Members from group Sales page can read only. | IT:Department is usergroup, and groups Administrators and Sales may be added by Extension:GroupPermissionsManager. Members from group Sales page can read only. | ||
</noinclude> | </noinclude> | ||