Fix : Custom app update permission issue

guava-cache-improvements
Dilini Bandara 1 year ago
parent c566d95f77
commit ee64c3edca

@ -3244,7 +3244,7 @@ public class ApplicationManagerImpl implements ApplicationManager {
AtomicReference<ApplicationReleaseDTO> applicationReleaseDTO = new AtomicReference<>( AtomicReference<ApplicationReleaseDTO> applicationReleaseDTO = new AtomicReference<>(
applicationDTO.getApplicationReleaseDTOs().get(0)); applicationDTO.getApplicationReleaseDTOs().get(0));
validateAppReleaseUpdating(customAppReleaseWrapper, applicationDTO, applicationArtifact, validateAppReleaseUpdating(customAppReleaseWrapper, applicationDTO, applicationArtifact,
ApplicationType.ENTERPRISE.toString()); ApplicationType.CUSTOM.toString());
applicationReleaseDTO.get().setPrice(customAppReleaseWrapper.getPrice()); applicationReleaseDTO.get().setPrice(customAppReleaseWrapper.getPrice());
applicationReleaseDTO.get() applicationReleaseDTO.get()
.setIsSharedWithAllTenants(applicationReleaseDTO.get().getIsSharedWithAllTenants()); .setIsSharedWithAllTenants(applicationReleaseDTO.get().getIsSharedWithAllTenants());

Loading…
Cancel
Save