This article is a legacy article. It applies to previous versions of the Liferay product. While the article is no longer maintained, the information may still be applicable.
Wiki Permissions can be "layered" because of the multiple permission levels that can go into accessing Wiki content. This article aims to explain the different levels that permissions for the Wiki can be set.
Resolution
Affected Products
Liferay Portal 6.0.x EE and above
Below are the different levels that factor into Wiki permissions:
- Wiki node level
- Portlet Level
- Role Level
- Individual Page Level
This can cause confusion because permissions on one level can be set to grant access for a user, however the user is still denied access due to the permissions set on other levels. For instance, a user can have permissions to view a Wiki node, but can lack view permissions on theWiki Display Portlet that displays the Wiki node. The result is the user lacks the necessary permissions to view the Wiki node within the Wiki Display Portlet. The way to overcome scenarios like this example is to check the permissions set at every level to make sure that every user has the proper permissions. In our example, then, the user needs to have view permissions granted on the Wiki Display Portlet in order to view the Wiki node. Below are the locations where the different permission levels can be set:
Wiki Node Level Permissions can be configured in the Control Panel > Wiki. This lets you change the permissions for who has access to specific Wiki nodes. In 6.2 EE, this can be modified in the Control Panel > Sites > Site Administration > Wiki.
Portlet Level Permissions can be configured for each portlet by selecting Configuration within the wrench icon (cog gear icon in 6.2 EE) in the top right corner of the portlet. This lets you configure the permissions for who has access to the portlet and/or certain aspects of that portlet.
Role Level Permissions can be modified in the Control Panel > Roles > Define Permissions. It is here that permissions are defined for a Role. In 6.2 EE, this can be modified in the Control Panel > Users and Organizations > Roles > Define Permissions.
Individual Page Level Permissions can be modified in the Control Panel > Site Pages > Permissions. This modifies who has permissions on specific pages. In 6.2 EE, this can be modified in the Control Panel > Sites > Site Administration > Site Pages > Permissions.