matethurzo/liferay-portal — pull request #222 by vilmospapp (2012-07-19 11:29:12+00:00)
Title: [TECHNICAL SUPPORT] LPS-28703 Unsetting Team membership on Site membership revoke

Hi Máté,

If a user is assigned to a Team in a Site, but his Site Membership is removed, his Team Membership is remains in the DB. If he gets back his original Site Membership it means he will be automatically show up in his original Team hence he has the permissions for resources as well for the Team.

I modified the the Site Membership update processes to remove the user from the Teams related to the Site which membership was revoked from him.

Regards,
Vilmos