Extension:PermissionFunctions

Purpose
Provides a collection of permission management functionality.

Features

 * Magic Word 'checkPermission' : verifies if 'user' is allowed 'right' and if *not* then the page 'Permission Error' is served.
 * This function is rather useful for building 'forms'
 * Rather only helpful when used in a 'ParserPhase2' context (e.g. (($#checkpermission|edit$)) )
 * Static function 'getpermissionline'
 * Meant to be itereated with using 'ForeachFunction' magic words

Usage
E.g. check to see if the current user has the 'edit' right
 * (($#checkpermission|edit$))

Dependancies

 * StubManager extension

Installation
To install independantly from BizzWiki:
 * Download 'StubManager' extension
 * Apply the following changes to 'LocalSettings.php'