Cyberkids:Administrators: Difference between revisions

From Future Worlds Center Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
* 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: My:Group
** Page Name Example: Control_access:My_administrators
*** The namespace is My
*** The namespace is Control_access
*** The group page is Group
*** 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

Revision as of 04:55, 25 August 2011

Only the following members have access to this page <accesscontrol>Control_access:Administrators</accesscontrol>

  • Soteris Demetriou
  • Laouris
  • Drakos

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: 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.
*John Doe
*Jane Doe (ro)

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:

 <accesscontrol>Administrators,IT:Department,Sales (ro)</accesscontrol> 

IT:Department is usergroup, and groups Administrators and Sales may be added by Extension:GroupPermissionsManager. Members from group Sales page can read only.