Each page has three levels of access control:
- reading the page
- writing / editing the page
- comment of the page
Access controls can only be changed by the owner of the page - the technical administrator can also manually edit these controls by working directly on the database.
The owner of a page sees the "Edit permissions" option on the page that he owns: this option allows him to modify the access controls.
These controls are materialized by columns where the owner will add or delete information.
The owner can complete these columns with the following information, separated by spaces:
- the name of one or more users: for example CharlesNepote or DavidDelon
- the character * designating all the users
- the + character designating the registered users
- the character ! meaning the negation: for example! CharlesNepote means that CharlesNepote must not have access to this page
Default access rights
For any new page created, WikiNi applies default access rights. These access rights are configurable via the file /wakka.config.php.
You must enter the following three configuration variables:
"default_write_acl" => "*",
"default_read_acl" => "*",
"default_comment_acl" => "*",
For example, you may want that by default, only registered users can edit pages. You will then use:
"default_write_acl" => "+",
"default_read_acl" => "*",
"default_comment_acl" => "*",