legacy-knowledge-base
公開されました Jun. 30, 2025

How do you create a role that allows a user to edit details of other users?

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

Note, this is just one method and can be tailored to different preferences.

Issue

  • How do you create a role that can edit the details of other users? Like email address, etc.
  • How do you create and assign a specific role?

Environment

  • Liferay DXP 7.3

Resolution

Creating Users and Roles

  1. Navigate to the Control Panel > Users and Organizations and create the following users:
    • User1 - User with permission to edit user email addresses
    • User2 - User whose email address will be edited
  2. Navigate to Control Panel > Roles and create a new role titled "Edit User Test" to grant permission to edit User2's email address.

Assigning Permissions to the New Role

  1. Switch to the Define Permissions tab and select the permissions to assign to this role.
    • Under Application Permissions, select Access in Control Panel.
    • Under Resource Permissions > User, select all permissions.
    • Click Save at the bottom of the page.
  2. Additionally, navigate to Control Panel > General Permissions and select View Control Panel Menu.
  3. Review the summary to verify it meets the requirements.
  4. Under the Assignees tab, add the User1 user to this role.

Verifying the Solution

Log in with the User1 account and verify the ability to change the user details of User2.

Note: If the user is unable to see the Application Menu to access the Control Panel, verify there is no customization restricting the user from having access to the Control Panel.

Additional Information

did-this-article-resolve-your-issue

legacy-knowledge-base