Group group = groupOperation.getAllowedGroup();
if (group.getName().equalsIgnoreCase(OntologyShareAccessConstants.WORLD_GROUP_NAME) && groupOperation.getAllowedOperations().contains(operation)) {
groupOperations.remove(groupOperation);
projectInstance.setAllowedGroupOperations(groupOperations);
Instance groupOpInst1 = (((WrappedProtegeInstanceImpl) groupOperation).getProtegeInstance());
Instance cloneGroupOpInst = (Instance) groupOpInst1.shallowCopy(null, null);
GroupOperation cloneGroupOp = new GroupOperationImpl((MetaProjectImpl) projectInstance.getMetaProject(), cloneGroupOpInst);
Set<Operation> cloneGroupAllowedOp = cloneGroupOp.getAllowedOperations();
for (Operation op : cloneGroupAllowedOp) {
if (op.equals(operation)) {