# Functions
MustAdmin ensures the user has admin access to the repo.
MustBuildAccess ensures the token is a build token for the appropriate build.
MustIDRequestToken ensures the token is a valid ID request token for the appropriate build.
MustPlatformAdmin ensures the user has admin access to the platform.
MustRead ensures the user has admin, write or read access to the repo.
MustSecretAdmin ensures the user has admin access to the org, repo or team.
MustWorkerAuthToken ensures the token is a worker auth token.
MustWorkerRegisterToken ensures the token is a registration token retrieved by a platform admin.
MustWrite ensures the user has admin or write access to the repo.