minio/pkg/bucket/object/lock
Harshavardhana 43a3778b45
fix: support object-remaining-retention-days policy condition (#9259)
This PR also tries to simplify the approach taken in
object-locking implementation by preferential treatment
given towards full validation.

This in-turn has fixed couple of bugs related to
how policy should have been honored when ByPassGovernance
is provided.

Simplifies code a bit, but also duplicates code intentionally
for clarity due to complex nature of object locking
implementation.
2020-04-06 13:44:16 -07:00
..
lock.go fix: support object-remaining-retention-days policy condition (#9259) 2020-04-06 13:44:16 -07:00
lock_test.go fix: support object-remaining-retention-days policy condition (#9259) 2020-04-06 13:44:16 -07:00