long t1 = System.currentTimeMillis();
webProtegeLogger.info(".... loaded project in " + (t1 - t0) + " ms");
final ProjectId projectId = action.getProjectId();//project.getProjectId();
final OWLAPIProjectMetadataManager manager = OWLAPIProjectMetadataManager.getManager();
ProjectDetails projectDetails = manager.getProjectDetails(projectId);
Collection<Operation> ops = MetaProjectManager.getManager().getAllowedOperations(projectId.getId(), executionContext.getUserId().getUserName());
PermissionsSet.Builder builder = PermissionsSet.builder();
for (Operation op : ops) {
builder.addPermission(Permission.getPermission(op.getName()));