Issue
- We want to create a role where a user can have granular control of the layout of a page by creating and editing Fragment Compositions, but not the ability to create or edit fragments themselves, how can we accomplish this task?
- Users with only "View" permission for Fragments cannot create or save Fragment Compositions.
- Fragment and Fragment Composition permissions are coupled and cannot be defined independently. A user with permissions to create Fragment Compositions also has permissions to create and edit Fragments.
Environment
- Liferay DXP 2024.Q4+
Resolution
- The permissions to create Fragments and Fragment Compositions are currently coupled under the "Manage Fragment Entries" permission.
- A feature request, LPD-53841, has been submitted to allow separate permission definitions for Fragments and Fragment Compositions. You can follow the progress of this feature request on the provided link.