Permissions Settings | |
Related Pages: Groups, Groups Admin, Category, Category Admin, Permissions List, Permission Enforcement Order, Templated Groups and Roles
|
Understanding Tiki Permissions | |
onclick=role="">Along with setting the features, setting permissions is one of the basic aspects of Tiki administration. This page describes the basic concepts in Tiki's permission system and how the various aspects interact. A complete list of permissions can be found on the Permissions List page.
|
How Permissions Work | |
Main points of the permission system in Tiki
It is important to understand that Tiki uses several types of permissions:
Permissions are inherited from from the top-down, but override from the bottom-up. Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
Permissions Example Consider the following example for a company using Tiki:
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
You have the categories:
You want to give:
|
Global (Group) Permissions | |
First, you need to define the global permissions for each group. Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
Anonymous
Employees
Board of Directors
|
Category Permissions | |
Now that the Global permissions are set, you can adjust the permissions for each category. These settings will override the Global permissions. The Category permissions can be set for each category from the Settings > Categories (tiki-admin_categories.php) page. Note:
Remember that Category permissions are an advanced feature only recommended for experienced users of Tiki, mastering already how Global and Object permissions work.
Press ReleasesCurrently, Anonymous can view press releases, and Employees can edit them (as defined by the Global permissions). To allow only the Board of Directors to edit press releases, you must assign permissions to the category. This will override the default group (global) permissions:
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
Financial InformationCurrently, Anonymous can view Financial Information, and Employees can edit them. But we want only the Board of Directors to have access (both view and edit) to these pages. You'll need to make the same adjustments to the Financial Information category's permissions:
|
Object Permissions | |
But what if you want one item in the Financial Information category, to be visible to the public? You can override all other permissions, by assigning specific permissions to the object itself. For example, the ABC Company may have a public disclosure form, issued by the government, that it needs to make public (but that only the government can change or update):
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
For example using version 10, if you wanted to hide one wiki page made by admin from the Anonymous group you would select the page's permissions (from the admin menu : Wiki/List Pages/then click the Key icon for your page in the list). Using the object permission page of the wiki page, you turn off the "Can view page/pages (tiki_p_view)" attribute and save.
It turns out that you have to turn off the "Can view page/pages (tiki_p_view)" AND "Can admin the wiki (tiki_p_admin_wiki)" attributes to hide the wiki page from the Anonymous group.
|
Managing permissions | |
Warning While entering a filter, JQuery will rebuild the list. Do not press enter or you'll start all over.
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled.
onclick=role="">
onclick=role=""> Plugin Image The "id" parameter is not allowed unless "file_galleries_redirect_from_image_gallery" preference is enabled. onclick=role="">
|
Permissions by section | ||||||||||||||||||||||||||||||||||||||||||
onclick=role="">
September 2025
|
Demo site for testing | |
Category permissions | |
Permissions can be restricted via the category feature. Basically, you can already assign all the permissions you need as described above. The full granularity of permissions can be assigned to categories (and thus inherited when objects belong to a given category). If an object has no specific (object) permissions, then:
For example, if...
... then:
Because adding a category to an object can provide additional rights, it is important to protect who can assign categories to prevent undesired escalation. For example, if the site contains public and private information, someone with access to edit private information should not be able to make it available publicly by changing the categories. To resolve this issue, multiple permissions can be assigned to the categories. To begin with, tiki_p_modify_object_categories allows to determine if the user is allowed to modify the categories of the object at all. Without this permission, it will be impossible to modify the categories. Typically, it is safe to grant this permission widely. Then, there is higher granularity available for each category. tiki_p_add_object and tiki_p_remove_object determine if the user can add or remove elements from the category. Categories on which permissions are specified should also specify who can assign to or remove from those categories. When a user has the tiki_p_modify_object_categories permission on an object and modifies that object, but lacks the tiki_p_add_object permission on a certain category, the user will see a checkbox for that category, but the checkbox will be disabled. Additionally, some category changes may be allowed in certain contexts by defining Category Transitions, which would allow to change a category only from a certain state. A group of transitions create a workflow. |
Workspaces | |
Workspaces further facilitate management of large and complex Tiki sites. |
Admin permissions and special permissions | |
When a group has an admin permission on a feature such as tiki_p_admin_sheet, the group will lost his admin permission for an object with local perms or categories permissions. |
Customising the permissions list (re-ordering it) for power users. | |
Since Tiki19 it is possible to customise and re-order the list of the permissions displayed under Setting => Permissions (tiki-objectpermissions.php). Super user can edit a yaml file located at : tiki-objectpermissions_order.yml. |
Note | |
Some information on this page is from Tiki for |
Alias | |