Adding Permissions to Wiki Pages

Tiki's security model allows you configure page-specific permissions. For example if you have several wiki pages on your site that are "private" and should be visible to Registered (logged in) users only, you can change the pages' permission so that Anonymous visitors cannot view the page (even if the Anonymous group has the tiki_p_view permission), because the object's permissions override the group's permissions.

Let's change the permissions on the My New Page so that is:

  • Visible only to Registered users
  • Editable only by the Administrator


As the Admin:

  1. Access the My New Page page from the link on the HomePage that you created previously.
    The Perms button on MyNewPage
  2. At the bottom of the page, Select More > Permissions. The Assign Permissions page appears.
    Assigning permissions to MyNewPage
  3. On the Assign Permissions tab, unselect the Can view page/pages option for the Anonymous group. Notice that Tiki automatically unselects the option for the other groups, too, because these groups all inherit permissions from the Anonymous group. See Configuring Group Permissions for details on how groups inherit permissions from other groups.
  4. Now 'select' the Can view page/pages option for the Registered group. Notice that Tiki automatically enables the permission for all groups that inherit permissions from the Registered group.
  5. Click Assign. Tiki prompts for confirmation, then saves the information and reloads the page.

If you log off and try to access the MyNewPage page, Tiki will prompt you to login. Remember, only registered users can now view the page.
You are not logged in.
The page is visible only when logged in.

 Tip

Use the On permission denied... options in the Redirects area of the Navigation tab of the General control panel to configure additional what Tiki displays in this "Permission Denied" message.
Navigation tab

<HR>

Copyright

This guide is based on content originally published by KeyContent.org.

This guide is Copyright (C) 2007-2013, 2019 by Rick Sapir and others under a Creative Commons Attribution-Share Alike 4.0 License. Some rights reserved.

Essentially, you are are free:

Image

to Share — to copy, distribute and transmit the work
Image

to Remix — to adapt the work


Under the following conditions:

Image
Attribution. You must attribute the work to me, as the original licencor, but not in any way that suggests that I endorse you or your use of the work.
Fair attribution includes a return link to http://tikiforsmarties.com (for online use) and mention of primary author (Rick Sapir) and original publisher (KeyContent.org).
Image

Share Alike. If you alter, transform, or build upon this work, you may distribute the resulting work only under the same, similar or a compatible license.


Please read http://creativecommons.org/licenses/by-sa/3.0/legalcode for the full license.

Tiki®, TikiWiki® and the Tiki logo are registered trademarks of the Tiki Software Community Association, used with permission.