public void handleUserLoggedOut(UserLoggedOutEvent event) {
updatePermissionBasedItems();
}
});
handlerRegistrationManager.registerHandlerToProject(projectId, PermissionsChangedEvent.TYPE, new PermissionsChangedHandler() {
@Override
public void handlePersmissionsChanged(PermissionsChangedEvent event) {
updatePermissionBasedItems();
}
});