CoreSession session = socialWorkspace.getDocument().getCoreSession();
try {
new UnrestrictedSessionRunner(session) {
@Override
public void run() throws ClientException {
SocialWorkspace unrestrictedSocialWorkspace = toSocialWorkspace(session.getDocument(new IdRef(
socialWorkspace.getId())));
initializeSocialWorkspaceRights(unrestrictedSocialWorkspace);
initializeNewsItemsRootRights(unrestrictedSocialWorkspace);
if (unrestrictedSocialWorkspace.isPublic()) {
makeSocialWorkspacePublic(unrestrictedSocialWorkspace);