Difference between revisions of "CCGB Wiki Documentation"

From CCGB
Jump to: navigation, search
Line 39: Line 39:
 
| a || all / administer
 
| a || all / administer
 
|}
 
|}
 +
 +
Certain bits imply other bits, for example, '''r''' also implies '''h''' and '''w'''.
 +
 +
ACLs may also contain ''negative'' bits by using the uppercase form of the bit. For example, if I wanted someone to be able to read and edit a page but not move or delete, I could specify <acl>someone reMD</acl>

Revision as of 13:27, 22 February 2010

Request a Space

To request a custom Namespace (like BX or PhiX), contact admin-at-bx.psu.edu, and include the name of the namespace, and possibly a short alias for use when creating links to pages within that namespace.

Who Can View this Wiki?

Right now, the base permissions allow anyone to view, but only a member of the bxadmins group to make any changes. Access to any given page, category, or namespace is governed by the ACL (Access Control List) specified on that page, category, or Namespace:ACL page.

Access Control Lists

ACLs are provided by the MediaWiki ACL Extension, which is a custom extension written in-house specifically for this wiki, but generic enough to be used by other sites.

In general, ACLs are specified using the <acl></acl> tags within a page, category, or Namespace:ACL page.

ACLs are of the form:

<acl>user bits, group bits, ...</acl>

The <acl></acl> tags can be specified multiple times within a given page and the contents will be combined.

entity->bit tuples are separated by a comma, with the entity->bit tuples delimited themselves by whitespace.

The bits are any of the following characters combined:

bit meaning
r read / view
h view page history
w watch a page
e edit
p protect
d delete
m move / rename
a all / administer

Certain bits imply other bits, for example, r also implies h and w.

ACLs may also contain negative bits by using the uppercase form of the bit. For example, if I wanted someone to be able to read and edit a page but not move or delete, I could specify <acl>someone reMD</acl>