// need to see what bundle level perms he has.
if (canDelete && canDeploy && canTag) {
authorizedRenderView(bundleId, viewPath);
} else {
new PermissionsLoader().loadBundlePermissions(bundleId, new PermissionsLoadedListener() {
@Override
public void onPermissionsLoaded(Set<Permission> bundlePermissions) {
canDelete = canDelete || bundlePermissions.contains(Permission.DELETE_BUNDLES_FROM_GROUP);
canDeploy = canDeploy || bundlePermissions.contains(Permission.DEPLOY_BUNDLES_TO_GROUP);
canTag = canTag || bundlePermissions.contains(Permission.CREATE_BUNDLES_IN_GROUP);