getReleaseIfAuthorized

private open fun getReleaseIfAuthorized(releaseId: String): Release

Method to get a release if the user is authorized and if the release is attached to the requested project

Return

the release attached to the requested project as Release or null if not authorized

Parameters

releaseId

: the release identifier to fetch