LPS-32643 Check membership policies when the user is added or removed from a site