Help:SemanticAccessControl

From Edge of Darkness Wiki

SemanticAccessControl
Jump to: navigation, search

Usage

	       {{ACL Page Group Permission
	       |UserGroup=All Users
	       |Permission=write, read, grant
	       |Grant=Reject
	       }}
 

All Users is an implicit group. You can use it in your template. User specific permission can be added like this

	     {{ACL Page User Permission
	     |User={{{PI}}}
	     |Permission=read
	     |Grant=Grant
	     }}
 

ACL_Page_Fixed semantic property can be added to template so that the page can not be edited any more once it is created.

Concept

This extensions classifies pages into three categories: content pages, schema pages and access control-related pages.

Access control for content page follows these flow.

At any stage, if a right is explicitly granted or denied, the checking stops. Otherwise, it goes to next stage.

  1. page owner and users in bot, sysop, and bureaucrat have all permissions all the time. Page owner is the user who creates the page in the first place and any one defined with ACL Page Owner semantic property.
  2. Check any permission in the page itself. The permission could be introduced implicitly from template.
  3. Check any permission which is created by end user following the Permissions action tab.
  4. Check any inherited permission if the page has one.
  5. Find all groups the page owner belongs to and any group as is defined with ACL Page Group semantic properties. If current user is in one of the group, Check the group policy as is defined in UserGroup page. Then check GroupACL.
  6. Check policy in SiteACL.
  7. Fall back to MediaWiki itself.
Personal tools
Namespaces
Variants
Actions
Navigation
games
Toolbox