Allow metadata to be updated on reads


At the moment we can store metadata with a file when it is uploaded but not when it is being read.
Would it be possible to allow metadata to be updated on reads as well as writes?


Hi there,

What kind of use case would updating metainfo on a read fulfill?


Hi Krista,

We want to share read access with a 3rd party and revoke the access macaroon after they have read the file. Updating metadata on read would allow us to add a “last_read” field which we could use to detect and revoke access (the 3rd party will be running our software to access tardigrade). As I mentioned in the other post, a “valid for X uses” macaroon permission would be a much better.