Preview with edit links in the site.DokuWiki by default allows all visitors of the site to edit your wiki pages. In some cases, random users can deface your wiki site and delete your pages. The image to the right will show the edit options available for any visitor on the site.

To prevent only certain users for editing the site, you can use the "Access Control List Management" in the Administration section of your DokuWiki to change the permissions of the users. This article will explain how to set the permissions for all visitors to read only and how to set specific uses to be allowed to edit the wiki.

Brief Outline of Permissions

Below is a table with a brief explanation of what each permission is for. The higher permissions will also include the lower permissions. For example, the Create permission will also allow the Read and Edit permission.

User Permissions in DokuWiki
NamePermission Description
1 None Wiki is not accessible at all
2 Read The wiki can be Read Only
3 Edit Can read and edit pages that are all ready created
4 Create Allows Pages and Namespaces to be created
5 Upload Allows media to be uploaded to pages
6 Delete Media files can be overwritten or deleted
7 Admin Restricted to the Admin user

Changing permissions for all users on DokuWIki

  1. Log into DokuWiki.
  2. Admin link DokuWikiClick the Admin link at the top right.
  3. Select the Access Conrtrol DokuWikiSelect the Access Control List Management link.
  4. ACL Rules in DokuWikiTowards the bottom in the list of "Current ACL Rules", To restrict all users from editing, select the "Read" radio button and click update.

    View with no edit links DokuWikiNow when visiting the site as a regular visitor, you will see the Edit features not available anymore..

Allowing certain registered users the Edit capability

  1. Log into DokuWiki.
  2. Click the Admin link at the top right.
  3. Select the Access Control List Management link.
  4. Click the Root directory link DokuWikiSelect the "Root" directory in the Access Control List.
  5. Select the user to add permissions toDokuWikiIn the "Permissions for" section, Select "User" and enter the username to allow access to edit.

    Click Select.


  6. Save Add new Entry DokuWikiIn the Add new Entry box, select the "Edit" radio button and click Save.

    List of User permissions DokuWikiNow only the users that you add to the edit permission to will be allowed to edit any pages.

This concludes the user permissions tutorial.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2230
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5654

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!