Revision [15699]

This is an old revision of ACLInfo made by WazoO on 2006-11-26 06:03:04.

 

WikkaDocumentation Wikka Documentation

Controlling read/write access to single pages


Wikka supports advanced ACL (access control lists) management for setting user privileges on single pages.
Making a page read-only, private, or writable by a restricted number of users is possible by setting the appropriate privileges for the page in question.

ACLs can be easily set by clicking on the Edit ACLs link at the bottom of the page. This link appears only when you are logged in and have the right to set ACLs; only the PageOwnership page owner and Admins have this privilege. If a page isn't owned by anyone (i.e. "Nobody" is the owner) you first have to take ownership to modify the ACLs.

Three fields are available:
determines which users can read the page
determines which users can write the page
determines which users can post comments on the page

ACL Syntax
The three fields accept the following values:

* = Everyone
+ = Registered users only
Or any enter individual user WikiNames (one per line)

Any of these items can be negated with a !

!* = No one
!+ = Anonymous users only
!JohnDoe = JohnDoe will be denied access.

Be aware that the ACLs are tested in the order specified.
Any line starting with a + or * will be treated as only having a + or * on it.
So be sure to specify * on a separate line after negating any users - not before.
Otherwise, the * everyone condition will always give access before the list of users that should not have access is tested.
Each entry must be on its own line (version 1.1.6.2 and below)

Note: setting a page to !* (= No one) still allows the page owner and admins to access it.

ACL default values

Default ACL for new pages can be set in the ConfigurationOptions wikka configuration file by Wikka administrators.

Note: Any page that has not had a custom ACL set for it will use the default ACL in the ConfigurationOptions wikka configuration file. If you later change the default ACLs in the config file, then all pages that do not already have a custom ACL set will change to the new defaults. If you decide to change the default Read ACL to !* (= No one), make sure you go to your UserSettings and HomePage and set their ACLs to allow read access for at least yourself.

Multiple entries can be made in the config file by separating each entry with a 'new line' character (version 1.1.6.2 and below)
Example: 'default_write_acl' => '!WikiGroupRestrictedUsers'."\n".'+',
which says 'no' to the Restricted Users, yes to Registered Users

Comment restrictions

Comment-ACL for single pages can be overridden by:


CategoryDocumentation
There are 37 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki