legacy-knowledge-base
公開されました Sep. 10, 2025

Fragments and Fragment Compositions Share Permissions

written-by

Emma Carr-Gardner

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

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.

 

did-this-article-resolve-your-issue

legacy-knowledge-base