* @param opId The operation identifier
*
* @throws Exception
*/
public void setOperation(ServiceContext context, int mdId, int grpId, int opId) throws Exception {
OperationAllowedRepository opAllowedRepo = _applicationContext.getBean(OperationAllowedRepository.class);
Optional<OperationAllowed> opAllowed = getOperationAllowedToAdd(context, mdId, grpId, opId);
// Set operation
if (opAllowed.isPresent()) {
opAllowedRepo.save(opAllowed.get());
svnManager.setHistory(mdId + "", context);
}
}