@@ -403,7 +403,7 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
403403 selfRegForceOrganisationTokenInput = false , selfRegJoinExisting = false , selfRegJoinAsAdmin = true ,
404404 allowCertificateDownload = false , allowStatementManagement = true , allowSystemManagement = true , allowPostTestOrganisationUpdates = true ,
405405 allowPostTestSystemUpdates = true , allowPostTestStatementUpdates = true ,
406- allowAutomationApi = true , allowCommunityView = false , allowUserManagement = true , allowXmlReports = true ,
406+ allowAutomationApi = true , allowCommunityView = false , allowUserManagement = true , allowXmlReports = true , allowObsoleteSessionDeletion = true ,
407407 apiKeyToUse, None , None , domainId
408408 ), None )
409409 }
@@ -534,7 +534,7 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
534534 description : Option [String ], selfRegRestriction : Short , selfRegForceTemplateSelection : Boolean , selfRegForceRequiredProperties : Boolean ,
535535 selfRegAllowOrganisationTokens : Boolean , selfRegAllowOrganisationTokenManagement : Boolean , selfRegForceOrganisationTokenInput : Boolean ,
536536 selfRegJoinExisting : Boolean , selfRegJoinAsAdmin : Boolean , allowCertificateDownload : Boolean , allowStatementManagement : Boolean , allowSystemManagement : Boolean ,
537- allowPostTestOrganisationUpdates : Boolean , allowPostTestSystemUpdates : Boolean , allowPostTestStatementUpdates : Boolean , allowAutomationApi : Option [Boolean ], allowCommunityView : Boolean , allowUserManagement : Boolean , allowXmlReports : Boolean ,
537+ allowPostTestOrganisationUpdates : Boolean , allowPostTestSystemUpdates : Boolean , allowPostTestStatementUpdates : Boolean , allowAutomationApi : Option [Boolean ], allowCommunityView : Boolean , allowUserManagement : Boolean , allowXmlReports : Boolean , allowObsoleteSessionDeletion : Boolean ,
538538 apiKey : Option [String ], domainId : Option [Long ], checkApiKeyUniqueness : Boolean , userPreferences : Option [UserPreferenceDefaults ], overrideExistingUserPreferences : Boolean , tags : Option [String ], onSuccess : mutable.ListBuffer [() => _]) = {
539539 for {
540540 // Update short name.
@@ -564,11 +564,11 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
564564 .map(c => (
565565 c.supportEmail, c.domain, c.description, c.allowCertificateDownload, c.allowStatementManagement, c.allowSystemManagement,
566566 c.allowPostTestOrganisationUpdates, c.allowPostTestSystemUpdates, c.allowPostTestStatementUpdates, c.allowCommunityView,
567- c.allowUserManagement, c.allowXmlReports, c.interactionNotification, c.tags
567+ c.allowUserManagement, c.allowXmlReports, c.allowObsoleteSessionDeletion, c. interactionNotification, c.tags
568568 ))
569569 .update(supportEmail, domainId, description, allowCertificateDownload, allowStatementManagement, allowSystemManagement,
570570 allowPostTestOrganisationUpdates, allowPostTestSystemUpdates, allowPostTestStatementUpdates, allowCommunityView,
571- allowUserManagement, allowXmlReports, interactionNotification, tags
571+ allowUserManagement, allowXmlReports, allowObsoleteSessionDeletion, interactionNotification, tags
572572 )
573573 // Update user preferences.
574574 _ <- {
@@ -699,7 +699,7 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
699699 community.selfRegJoinExisting, community.selfRegJoinAsAdmin,
700700 community.allowCertificateDownload, community.allowStatementManagement, community.allowSystemManagement,
701701 community.allowPostTestOrganisationUpdates, community.allowPostTestSystemUpdates, community.allowPostTestStatementUpdates,
702- Some (community.allowAutomationApi), community.allowCommunityView, community.allowUserManagement, community.allowXmlReports, None , domainIdToUse,
702+ Some (community.allowAutomationApi), community.allowCommunityView, community.allowUserManagement, community.allowXmlReports, community.allowObsoleteSessionDeletion, None , domainIdToUse,
703703 checkApiKeyUniqueness = false , None , overrideExistingUserPreferences = false , community.tags, onSuccess
704704 )
705705 }
@@ -718,7 +718,7 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
718718 selfRegForceOrganisationTokenInput : Boolean , selfRegJoinExisting : Boolean , selfRegJoinAsAdmin : Boolean ,
719719 allowCertificateDownload : Boolean , allowStatementManagement : Boolean , allowSystemManagement : Boolean ,
720720 allowPostTestOrganisationUpdates : Boolean , allowPostTestSystemUpdates : Boolean ,
721- allowPostTestStatementUpdates : Boolean , allowAutomationApi : Option [Boolean ], allowCommunityView : Boolean , allowUserManagement : Boolean , allowXmlReports : Boolean ,
721+ allowPostTestStatementUpdates : Boolean , allowAutomationApi : Option [Boolean ], allowCommunityView : Boolean , allowUserManagement : Boolean , allowXmlReports : Boolean , allowObsoleteSessionDeletion : Boolean ,
722722 domainId : Option [Long ], selfRegDefaultOrganisation : Option [Long ], userPreferences : Option [UserPreferenceDefaults ], overrideExistingUserPreferences : Boolean ,
723723 tags : Option [String ]): Future [Unit ] = {
724724
@@ -732,7 +732,7 @@ class CommunityManager @Inject() (repositoryUtils: RepositoryUtils,
732732 selfRegNotification, interactionNotification, description, selfRegRestriction, selfRegForceTemplateSelection, selfRegForceRequiredProperties,
733733 selfRegAllowOrganisationTokens, selfRegAllowOrganisationTokenManagement, selfRegForceOrganisationTokenInput, selfRegJoinExisting, selfRegJoinAsAdmin,
734734 allowCertificateDownload, allowStatementManagement, allowSystemManagement,
735- allowPostTestOrganisationUpdates, allowPostTestSystemUpdates, allowPostTestStatementUpdates, allowAutomationApi, allowCommunityView, allowUserManagement, allowXmlReports,
735+ allowPostTestOrganisationUpdates, allowPostTestSystemUpdates, allowPostTestStatementUpdates, allowAutomationApi, allowCommunityView, allowUserManagement, allowXmlReports, allowObsoleteSessionDeletion,
736736 None , domainId, checkApiKeyUniqueness = false , userPreferences, overrideExistingUserPreferences, tags, onSuccess
737737 )
738738 } else {
0 commit comments