Legacy Knowledge Base
Published Jun. 30, 2025

Auto-revert when issuing/revoking Roles

Written By

Adrienne Lao

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Pre-assigned roles are being issued/revoked during the "Assign Roles" action when using multiple pages during the "Assign Roles" stage. When navigating through multiple pages, a previously issued/revoked role will auto-revert back to its initial setting when navigating back to the page. 

    • Example:
      • Step 1: Page 1, The Site Administrator role's original setting is currently selected. 
      • Step 2: Unselect the Site Administrator role.
      • Step 3: Navigate to Page 2.
      • Step 4: Navigate back to Page 1, the Site Administrator role has reverted back to its original setting and is selected. 

Screenshot_from_2023-06-07_11-57-45.png

Environment

  • DXP 7.4

Resolution

  • There are three different options for a resolution.
    • Option 1: When unchecking/checking the roles, without navigating to the previous page and clicking "Done", the roles that are newly issued/revoked are saved correctly. It does not revert back to its original setting. If navigating between the multiple "Role" pages after assigning/revoking new roles, the new roles will not save and will revert back to their original setting.
    • Option 2: Limit how many roles are created
    • Option 3: Change the pagination to include more entries. Alter the portal-ext.properties file to increase the default value.
search.container.page.default.delta=50

 

Did this article resolve your issue ?

Legacy Knowledge Base