diff --git a/CDP4WebServices.API/Services/Supplemental/ParameterService.cs b/CDP4WebServices.API/Services/Supplemental/ParameterService.cs index 8fda16ce..97ead107 100644 --- a/CDP4WebServices.API/Services/Supplemental/ParameterService.cs +++ b/CDP4WebServices.API/Services/Supplemental/ParameterService.cs @@ -166,7 +166,20 @@ public partial class ParameterService valueset.Formula = this.DefaultValueArrayFactory.CreateDefaultValueArray(newparameter.ParameterType); valueset.Published = this.DefaultValueArrayFactory.CreateDefaultValueArray(newparameter.ParameterType); - this.ValueSetService.UpdateConcept(transaction, partition, valueset, copy); + var fullAccesEnabled = this.TransactionManager.IsFullAccessEnabled(); + if (!fullAccesEnabled) + { + this.TransactionManager.SetFullAccessState(true); + } + + try + { + this.ValueSetService.UpdateConcept(transaction, partition, valueset, copy); + } + finally + { + this.TransactionManager.SetFullAccessState(fullAccesEnabled); + } } }