Issue
- Enable the following property:
permissions.propagation.enabled=true
- Open A Wiki Node, change and save its permissions
- Add a new Wiki Page under the Wiki Node
- Open the Wiki Page's permissions
Actual result: The permissions for the Wiki page are completely different from the permissions of the Wiki Node.
Expected result: The Wiki Page should inherit the permissions from the Wiki Node.
Environment
- Liferay DXP 7.2+
Resolution
- When the "permissions.propagation.enabled" property is set to "true" the permissions are not propagated during Wiki Page creation, but if you change parent permissions (Wiki Node's permissions) it will update the permissions of all of its children (Wiki Pages under that Node).
- This can be seen in the property's description:
# Set the following to true to enable propagation of permissions between
# models.
#
# For example, when setting the permissions on a specific Wiki node, if you
# assign a role a permission (e.g. DELETE), then the assignment of that
# permission is also propagated to all Wiki pages that belong to that Wiki
# node.
- So the propagation happens only when you set the Node permissions and this will not affect the permissions of subsequently created Wiki Pages.
Some of the currently available configuration options might be used as a workaround:
- Set default "Viewable by" permission for Wiki: Ability to set default "Viewable by" permission for assets
- Use Roles and Permissions to control who can have access:
Wiki Permission Details
Roles and Permissions FAQ
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión