common-fate / granted

The easiest way to access your cloud.
https://granted.dev
MIT License
1.04k stars 93 forks source link

fix access message when duration flag is used #434

Closed shwethaumashanker closed 1 year ago

shwethaumashanker commented 1 year ago

What changed?

If the duration flag is specified, the access message is updated to reflect it and displays a warning if the duration specified by the flag is longer than the maximum duration allowed for an access request.

Why?

The access message was previously always set to the maximum duration allowed for an access request.

How did you test it?

Ran multiple different access requests

Potential risks

Is patch release candidate?

Link to relevant docs PRs