LIVE WEBINAR: Migrating from Confluence to XWiki just got easier and faster! Join our free webinar and discover the latest upgrades. Register here.

How to set up rights for public wikis

26 Apr 2023 5 min read

Written by

Oana Elena Florea

, Customer Support Manager

As the digital world continues to evolve, wikis have become a popular way to collaborate, share knowledge, and create online communities. However, with the increasing need for transparency and accessibility, it's equally important to safeguard the privacy of certain pages or information.

In this article, you will learn step-by-step how to configure the rights settings on your wiki to create a public space (e.g. for sharing product documentation online), while also preserving the privacy of confidential information of other pages from your wiki.

Step-by-step rights set up for the wiki

Let's take an example that you can replicate afterward:

  • Functionally, in this example, the wiki will include a public space (in our example "MyDocumentation") with published content available to the guest users:

PublicSpaceExample.png

  • We also want to make sure all other access to the wiki is protected by login as it may contain sensitive data, content that awaits review, future ideas, etc:

MainLogin.png

Step 1: Global Administration

Why we need to update the rights: in order to block the guest users globally on any other content except for the documentation space.

Steps to follow:

  •  Go to Administer wiki > User & Rights > Rights 
  • Add the following setup for groups:

    GlobalWikiSetup.png

  • And guest setup:

    GuestSetup.png

Step 2: Specific pages

Enable hidden pages to have access to some specific documents (normally hidden for simple users):

EnableHidden.png

Step 3: Space containing the documentation

Why we need to update the rights: open the documentation space for the guest while not blocking the rest of the users.

Steps to follow:

Step 4: Color Theme

Why we need to update the rights: display the logo and color theme for the guests while not blocking the rest of the users.

Steps to follow:

Step 5: Navigation Panel

Why we need to update the rights: display the navigation panel on the documentation space for the guests while not blocking the rest of the users.

Steps to follow:

Step 6: Document Tree and Document Tree Macros

Why we need to update the rights: display the document tree (used on the Navigation Panel) for the guests while not blocking the rest of the users.

Steps to follow:

For more resources on how to enrich your experience with XWiki, you can check out our Tips & Tricks blog section.

You may also be interested in: