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

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 31 weeks, 3 days ago