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:
- Access the My New Page page from the link on the HomePage that you created previously.
- At the bottom of the page, Select More > Permissions. The Assign Permissions page appears.
- 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.
- 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.
- 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.
The page is visible only when logged in.
Tip
<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:
|
to Share — to copy, distribute and transmit the work |
|
to Remix — to adapt the work |
Under the following conditions:
|
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). |
|
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.