RepoPermission

data class RepoPermission(val resource: PermissionResource, val actions: List<String> = emptyList(), val collections: List<String> = emptyList()) : Permission

Repository permissions, e.g. access to repos, collections, and actions within.

Constructors

Link copied to clipboard
constructor(resource: PermissionResource, actions: List<String> = emptyList(), collections: List<String> = emptyList())

Properties

Link copied to clipboard

The set of actions that are permitted.

Link copied to clipboard

The collections that can be actioned. This can either be a list of Nsids, or the constant '*' to indicate that all collections are in scope.

Link copied to clipboard
open override val resource: PermissionResource

The resource that this permission applies to.