Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-114659

The site role is assigned to user as regular role via add-role-users api

    Details

    • Fix Priority:
      3
    • Sprint:
      U&SM| S03 Sprint 25 | 6.9-23, U&SM| S03 Sprint 26 | 6.23-7.7, U&SM| S03 Sprint 27 | 7.7-7.21

      Description

      Step to reproduce:

      1. Add a new user
      2. Assign the new user to default site
      3. Access to http://localhost:8080/api/jsonws?contextName=&signature=%2Fuser%2Fadd-role-users-2-long-%5BJ#serviceResults
      4. Query roleId of Site Administrator in Role_ table
      5. Query userId of new user in User_ table
      6. Fill the fields
      7. Invoke
      8. Click ellipsis button of new user > Edit > Roles

      Expected Results:
      The Site Administrator should be shown in Site Roles section.

      Actual Results:
      The Site Administrator is shown in Regular Roles section.

      Reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal master GIT ID: dfcc23ae99e0e56a9f06b27a38863d2df18a1bd1.

      Cannot be reproduced on:
      Tomcat 9.0.33 + MySQL 5.7. Portal 7.3.2-GA3 GIT ID: 0515646c8f638f202d107469cc147172fc7685de.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                4 weeks, 5 days ago

                Packages

                Version Package