storj / team-metainfo

GNU Affero General Public License v3.0
0 stars 0 forks source link

Add some validation to object TTL while upload #113

Closed mniewrzal closed 2 years ago

mniewrzal commented 2 years ago

Currently, expiration time is not validated on satellite side. We should as basic validation to metainfo.BeginObject method.

Acceptance Criteria:

Qweder93 commented 2 years ago

Validation was already there (endpoint_object.go, line 62) Added test to verify it's work https://review.dev.storj.io/c/storj/storj/+/8392