asyncRequests.add(new UserActionRequest("deleteCacheKeysAction", null, (Serializable) Collections
.singleton(CacheKeys.GROUP_BY_ID + targetId)));
// remove any requests from the user for group membership
if (deleteRequestForGroupMembershipMapper
.execute(new RequestForGroupMembershipRequest(targetId, followerId)))
{
// if any requests were present, then user was just approved for access
asyncRequests.add(new UserActionRequest(CreateNotificationsRequest.ACTION_NAME, null,
new GroupMembershipResponseNotificationsRequest(RequestType.REQUEST_GROUP_ACCESS_APPROVED,
inActionContext.getActionContext().getPrincipal().getId(), targetId, followerId)));