This plugin provides a centralised interface to TWiki permissions that are applied on a web level, or topic level.
Web permissions are presented as a matrix that has columns of webs and rows of users. For each web, you can control which users can view or change that web. All user webs, every registered user (except admin users), and every group (except admin groups) are shown in the matrix.
To interactivly edit topic permissions, it adds an "Edit topic ACLs" option to the "More Actions" page.
This control model is very useful in cases such as a web per project environment. In this case you will probably want to give team members change access to the specific projects they are working on. The plugin gives you a simple, one page interface, for handling these permissions.
The plugin tries very hard to keep the permissions specification you started with, though it does move them to METADATA.
Topic Permissions
THIS PLUGIN REQUIRES TWiki-4.0.0 or later
Syntax Rules
The permissions matrix can be viewed (and edited) by entering %WEBPERMISSIONS% anywhere in a topic. You have to have admin rights (be a member of TWikiAdminGroup) to view/edit the matrix.
The WEBPERMISSIONS TWiki variable accepts the following parameters:
webs - a comma-separated list of webs to show. Default is to show all webs.
repeatheads - if set to a number, headings will be repeated every this number of rows. This is very useful when you have a lot of users and groups.
If you have a lot of webs, use the following form to select the subset of webs you want to display. If you have admin rights, and the plugin is installed, you will see the matrix below the form:
Select the webs you want to change permissions for from the list below. Ctrl+click and Shift+click work as normal.
Set SHORTDESCRIPTION = View and edit web permissions
By default, the plugin only supports VIEW and CHANGE permissions on webs. You can change the set of access modes handled by the plugin by defining a configuration variable (in LocalSite.cfg) to be a comma-separated list of access modes. For example,
See TWikiAccessControls for more information on what access modes can be used to control.
Plugin Installation Instructions
Note: These instructions are for the TWiki maintainer. No changes to your browser are required. This plugin makes extensive use of new features added to TWiki in the Feb 2006 release. Earlier versions lack all the features described here. Make sure you install using the zip appropriate to your TWiki installation. For best overall performance, please upgrade your TWiki to the latest released version.
Download the archive (zip or tgz) from the Plugin web (see below). Contents:
Unpack the archive in your twiki installation directory.
perlWebPermissionsPlugin_installer.pl to automatically check and install other TWiki modules that this module depends on. This script also includes an uninstaller should you ever wish to remove the plugin from your installation.
Alternatively, manually make sure the dependencies listed in the table below are resolved.
Name
Version
Description
TWiki::Plugins
>=1.1
TWiki-4
TWiki::Contrib::FuncUsersContrib
>=1.0
Required, available from TWiki.org
Visit configure in your TWiki installation, and enable the plugin in the {Plugins} section.
to enable the TOPIC ACLs user interface, add webpermissions to the front of the SKIN setting (eg Set SKIN=webpermissions,pattern)