public void onSuccess(GWTManagerConfiguration config) {
PermissionsUtils.loadPermissions(config.getPermissions());
if (embedded) {
panel.add(new ContentManager(filters, mimeTypes, selectedPaths, config, 250));
} else {
panel.add(new ContentManagerViewPort(filters, mimeTypes, selectedPaths, config));
}
}
public void onApplicationFailure(Throwable throwable) {
Log.error("Error while loading user permission", throwable);