Configurações de Permissões | |
|
Table of contents | |
Compreendendo as Permissões no Tiki | |
Depois de configurar os Recursos, a configuração das permissões é a parte mais importante da administração do Tiki. Esta página descreve os conceitos básicos do sistema de permissões do Tiki e como elas interagem. Uma lista completa de permissões pode ser encontrada na página Lista de Permissões. |
Como as Permissões funcionam | |
Alguns fatos básicos que você precisa saber para compreender o sistema de permissões do Tiki.
What order are permissions settings applied? It is important to understand that Tiki uses several types of permissions:
Starting with Release 4.x, Tiki has a dramatically different (and friendlier) method of assigning permissions than earlier versions. |
Permissions Example | |
Consider the following example for a company using Tiki:
You have the categories:
|
Group Permissions | |
Anonymous
Employees
Board of Directors
|
Category Permissions | |
Press ReleasesCurrently, Anonymous can view press releases, and Employees can edit them. To allow only the Board of Directors to edit press releases, you must assign permissions tothe category. This will override the default group (global) permissions:
But this will override all global permissions — no one will be able to view the press releases. To let the general public read the press releases, assign tiki_p_view_categorized to Anonymous.
Financial InformationCurrently, Anonymous can view financial information, and Employees can edit them. To allow only the Board of Directors to edit and view these pages, you must assign permissions to the category. This will override the default group (global) permissions:
|
Managing permissions | ||
Warning While entering a filter, JQuery will rebuild the list. Do not press enter or you'll start all over.
Plugin Image File is not an image.
Plugin Image File is not an image.
|
Permissions by section | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Demo site for testing | |
|
Category permissions | |
There is also a new feature in Tiki 1.9.x to restrict permissions via the category feature. Basically, you can already assign all the permissions you need as described above. However, permissions via the category feature is just to make it faster to assign permissions. This feature is little tricky to understand. We are working to improve it. There are only two levels ("view" & "admin") in Tiki 1.9.4, and the third level ("edit" category contents) has been introduced in starting from 1.10. Starting in 3.0, category permissions are in addition to Groups permissions. So if tiki_p_read_categorized allows reading items which are in a category, the user must also be in a group which allows reading the specific kind of object. The category can not grant access to an object which the user's groups do not give him access to. In Tiki4, the full granularity of permissions can be assigned to categories (and thus inherited when objects belong to a given category). The permissions granted to objects are the sum of all the permissions granted to categories in which they belong. 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 or remove those categories. When the operation is not available, the checkbox will be marked as 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. Note that until Tiki6, category transitions are only available through Profiles. |
Workspaces | |
Workspaces are coming to Tiki4 to further facilitate management of large & 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. |
Note | |
Some information on this page is from Tiki for
|