- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for enforceRetentionBypassForDelete (0.28 sec)
-
cmd/bucket-object-lock.go
if err != nil { internalLogIf(ctx, err, logger.WarningKind) return true } if ret.RetainUntilDate.After(t) { return true } } return false } // enforceRetentionBypassForDelete enforces whether an existing object under governance can be deleted // with governance bypass headers set in the request. // Objects under site wide WORM can never be overwritten.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.2K bytes - Viewed (0) -
cmd/bucket-handlers.go
object.DeleteMarkerReplicationStatus = dsc.PendingStatus() } object.ReplicateDecisionStr = dsc.String() } } if object.VersionID != "" && hasLockEnabled { if err := enforceRetentionBypassForDelete(ctx, r, bucket, object, goi, gerr); err != nil { apiErr := toAPIError(ctx, err) deleteResults[index].errInfo = DeleteError{ Code: apiErr.Code, Message: apiErr.Description,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 61.2K bytes - Viewed (0) -
cmd/object-handlers.go
vID = "" } } opts.SetEvalRetentionBypassFn(func(goi ObjectInfo, gerr error) (err error) { err = nil if vID != "" { err := enforceRetentionBypassForDelete(ctx, r, bucket, ObjectToDelete{ ObjectV: ObjectV{ ObjectName: object, VersionID: vID, }, }, goi, gerr) if err != nil && !isErrObjectNotFound(err) { return err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 14 13:28:35 UTC 2024 - 124.2K bytes - Viewed (0)