Add an extension for when a user requests a deployment

There is a decision of whether to put this before or after the permissions check.
I opted for after, since of the potential security implications.
A safe default saves peoples lives.
When deploying a release using pipelines data won't contain 'SelectRelease'. You should use `$buildName` instead.