🎇 Is XWiki the right fit for your team's knowledge needs? Join our webinar to find out! Register now.

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:

Best practices

Knowledge base software vs. content management system: What to choose?

Still deciding between knowledge base software and a CMS? Our latest article breaks down the key differences, must-have features, and real-world use cases to help you choose the right tool for your needs. Plus, we answer the big question: Can you use one in place of the other? Dive in and find out!

Best practices

How to create and customize a XWiki PDF template | Tutorial

Whether you’re managing technical documentation, internal wikis, or public knowledge bases, customizing your XWiki PDF templates lets you create professional, branded documents ready for sharing, archiving, or printing. In this step-by-step tutorial, you’ll learn how to create and customize a PDF template in XWiki — from setting up the template structure using Velocity and XHTML to styling it with CSS and adding dynamic information.

Best practices

Knowledge management vs. content management | Key differences and tools

Though they share some similarities, knowledge management and content management serve different purposes and users, and rely on different tools. Learn from our straightforward comparison about their differences, benefits, and practical applications.