Allow Admin to override :MaxEmbargoDurationInMonths Setting in API
Overview of the Feature Request
As an admin, I would like to be able to set an embargo on file(s) that is longer than what is set in :MaxEmbargoDurationInMonths
What kind of user is the feature intended for? This would be for Admins using the API - api/datasets/:persistentId/files/actions/:set-embargo This would not be for non-admins using the API.
What inspired the request? I want to set a default "low" embargo window with the MaxEmbargo setting - 12 months for dataset owners, but want admins to be able to set higher embargoes if needed - and have this longer embargo - only be accessible to admins.
What existing behavior do you want changed? Currently the API "set-embargo" will not allow a date longer than the setting, get this error:
{"status":"ERROR","message":"Date available can not exceed MaxEmbargoDurationInMonths: 12"}