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.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm James Richardson, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. I can't access my website
  2. we-creation.com server down
  3. How do I delete the DNS entry?

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!