src/client/js/services/AdminGeneralSecurityContainer.js
/**
   * Update restrictGuestMode
   * @memberOf AdminGeneralSecuritySContainer
   * @return {string} Appearance
   */
Update restrictGuestMode
@memberOf AdminGeneralSecuritySContainer
@return {string} Appearance
Update restrictGuestMode @memberOf AdminGeneralSecuritySContainer @return { string } Appearance
async updateGeneralSecuritySetting() {
    let requestParams = {
      restrictGuestMode: this.state.currentRestrictGuestMode,
      pageCompleteDeletionAuthority: this.state.currentPageCompleteDeletionAuthority,
      hideRestrictedByGroup: !this.state.isShowRestrictedByGroup,
      hideRestrictedByOwner: !this.state.isShowRestrictedByOwner,
    };
    requestParams = await removeNullPropertyFromObject(requestParams);
    const response = await this.appContainer.apiv3.put('/security-setting/general-setting', requestParams);
    const { securitySettingParams } = response.data;
    return securitySettingParams;
  }
async updateGeneralSecuritySetting ( ) { let requestParams = { restrictGuestMode : this . state . currentRestrictGuestMode , pageCompleteDeletionAuthority : this . state . currentPageCompleteDeletionAuthority , hideRestrictedByGroup : ! this . state . isShowRestrictedByGroup , hideRestrictedByOwner : ! this . state . isShowRestrictedByOwner , } ; requestParams = await removeNullPropertyFromObject ( requestParams ) ; const response = await this . appContainer . apiv3 . put ( '/security-setting/general-setting' , requestParams ) ; const { securitySettingParams } = response . data ; return securitySettingParams ; }
Update restrictGuestMode
 @memberOf AdminGeneralSecuritySContainer
 @return {string} Appearance
Update restrictGuestMode @memberOf AdminGeneralSecuritySContainer @return { string } Appearance