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

Site role for an organization site does not get removed when a user is removed from an organization

    Details

      Description

      Site role for an organization site does not get removed when a user is removed from an organization.

      Steps to Reproduce
      1. Add user 'test1'
      2. Add organization 'test1org' with an organization site
      3. Assign user 'test1' to 'test1org'
      4. Add a site role and an organizational role to user
      5. Go to the database and check the UserGroupRole table
      6 There should be an entry with the userId of 'test1', the groupId of 'test1org' and the roleId for 'Site Administrator'
      7. Unassign the user 'test1' from 'test1org' from 'Users and Organizations'
      8. Check the UserGroupRole table again. The entry with the same userId, groupId, and roleId should still be there.

      Expected Result
      The entry with the same userId, groupId, and roleId should be gone
      Actual Result
      The entry with the same userId, groupId, and roleId, are still in the database

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hong.zhao Hong Zhao
              Reporter:
              preston.crary Preston Crary
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 2 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M2