Adding Clarity’s Users and Groups

Users are individuals who interact with the Liferay platform, whether authenticated or not. To organize authenticated users, you can also create user groups based on shared attributes to simplify role management. In this section, you’ll set up users and user groups for Clarity’s enterprise website.

Exercise: Creating Users

While building the public enterprise website, we’ll follow these Clarity personas as they contribute to the final site:

Screen NameEmailFirst NameLast NameJob Title
christiancarterchristian.carter@clarityvisionsolutions.comChristianCarterMarketing Coordinator
claramurphyclara.murphy@clarityvisionsolutions.comClaraMurphyMarketing Manager
harperrobertsharper.roberts@clarityvisionsolutions.comHarperRobertsHuman Resources Specialist
ianmillerian.miller@clarityvisionsolutions.comIanMillerIT Manager
walterdouglaswalter.douglas@clarityvisionsolutions.comWalterDouglasWeb Developer

This training follows five Clarity personas as they contribute to the enterprise website.

The training workspace already includes all of these users except for Christian Carter. Here you’ll add him manually as the Clarity Admin user.

Note

In real world scenarios, large organizations like Clarity would benefit from using an identity and access management system (e.g., Okta) to add users to their Liferay instance. For training purposes, you’ll create the missing user manually.

To do this,

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click Users and Organizations.

    Open the Users and Organization application in the Global Menu.

    Here you can view and manage all users for the current Liferay instance. This should include the Clarity Admin user along with Walter Douglas, Ian Miller, Clara Murphy, and Harper Roberts.

    The menu displays all users in your instance.

  2. Click New.

  3. To set the user’s profile image, click the Change Image button (Change Image Button), click Select, navigate to the [repository-folder]/exercises/lesson-3/ folder in the training workspace, select christian-carter.png, and click Done.

    Set Christian Carter's profile image.

  4. Enter these details for Christian Carter:

    FieldValue
    Screen Namechristiancarter
    Email Addresschristian.carter@clarityvisionsolutions.com
    Job TitleMarketing Coordinator
    First NameChristian
    Last NameCarter

    Enter these user details for Christian Carter.

  5. Click Save.

    You can now access additional configuration options for Christian Carter.

  6. In the left menu, click Password.

  7. Enter learn for his password.

    Set Christian Carter's password to learn.

  8. Click Save.

Great! You’ve added Christian Carter to Clarity’s Liferay instance. Next you’ll create a user group to help organize and manage Clarity’s users.

Exercise: Creating and Assigning User Groups

In a real-world scenario, organizations like Clarity have hundreds of users, and managing them individually is impossible. To help reduce the burden of user management, Liferay provides user groups for easily assigning roles to related users. The next exercise will explore roles in more detail.

To begin with, Clarity needs these user groups:

Group NameDescription
Human ResourcesMembers of the human resources department at Clarity.
ITMembers of the IT department at Clarity.
MarketingMembers of the marketing department at Clarity.

The training workspace includes both the IT and Human Resources user groups. Here you’ll create and assign Clarity’s Marketing user group as the Clarity Admin user.

To do this,

  1. Open the Global Menu (Global Menu), go to the Control Panel tab, and click User Groups.

    Go the User Groups application in the Global Menu.

  2. Click New.

  3. Enter these details for the user group:

    FieldValue
    NameMarketing
    DescriptionMembers of the marketing department at Clarity.

    Create the Marketing user group.

  4. Click Save.

    This creates the user group, so you can now add Clarity’s marketing users to it.

  5. Click the Marketing user group.

  6. Click New.

  7. Select Christian Carter and Clara Murphy.

    Select Christian Carter and Clara Murphy to add them to the user group.

  8. Click Add.

Conclusion

Great! Now any roles assigned to the Marketing user group are automatically assigned to all team members. Next, you’ll learn how to define and assign custom roles for Clarity.

Next Up: Defining and Assigning Roles to Clarity’s Users

Additional Resources

See official documentation to learn more about users and user groups:

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy