Uses of Enum
org.kohsuke.github.GHPermissionType
-
Uses of GHPermissionType in org.kohsuke.github
Modifier and TypeMethodDescriptionGHRepository.getPermission
(String user) Obtain permission for a given user in this repository.GHRepository.getPermission
(GHUser u) Obtain permission for a given user in this repository.static GHPermissionType
Returns the enum constant of this type with the specified name.static GHPermissionType[]
GHPermissionType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionboolean
GHRepository.hasPermission
(String user, GHPermissionType permission) Check if a user has at least the given permission in this repository.boolean
GHRepository.hasPermission
(GHUser user, GHPermissionType permission) Check if a user has at least the given permission in this repository.void
GHProject.setOrganizationPermission
(GHPermissionType permission) Set the permission level that all members of the project's organization will have on this project.Modifier and TypeMethodDescriptionGHAppInstallation.createToken
(Map<String, GHPermissionType> permissions) Deprecated.GHAppCreateTokenBuilder.permissions
(Map<String, GHPermissionType> permissions) Set the permissions granted to the access token.void
GHAppInstallation.setPermissions
(Map<String, GHPermissionType> permissions) Deprecated.Do not use this method.
GHAppInstallation.createToken()
instead.