protected override void InternalProcessRecord()
 {
     TaskLogger.LogEnter();
     if (!this.skipProcessRecord)
     {
         base.InternalProcessRecord();
         SetSharingPolicy.SetDefaultSharingPolicy(this.ConfigurationSession, this.DataObject.OrganizationId, this.DataObject.Id);
     }
     TaskLogger.LogExit();
 }
Ejemplo n.º 2
0
 protected override void InternalProcessRecord()
 {
     TaskLogger.LogEnter();
     if (SharedConfiguration.IsSharedConfiguration(this.DataObject.OrganizationId) && !base.ShouldContinue(Strings.ConfirmSharedConfiguration(this.DataObject.OrganizationId.OrganizationalUnit.Name)))
     {
         TaskLogger.LogExit();
         return;
     }
     base.InternalProcessRecord();
     if (this.Default)
     {
         SetSharingPolicy.SetDefaultSharingPolicy(this.ConfigurationSession, this.DataObject.OrganizationId, this.DataObject.Id);
     }
     if (this.DataObject.IsAllowedForAnyAnonymousFeature() && !SetSharingPolicy.IsDatacenter)
     {
         this.WriteWarning(Strings.AnonymousSharingEnabledWarning);
     }
     TaskLogger.LogExit();
 }