| Package | Description |
|---|---|
| net.leanix.dropkit.oauth.models |
| Modifier and Type | Method and Description |
|---|---|
PermissionRole |
Permission.getRole() |
static PermissionRole |
PermissionRole.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionRole[] |
PermissionRole.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Principal.hasPermission(UUID workspaceId,
PermissionRole role)
Convenience method to check is user has permission with given role
|
boolean |
User.hasPermission(UUID workspaceId,
PermissionRole role) |
boolean |
Permission.hasRole(PermissionRole role)
Checks if the permission has the given role.
|
boolean |
Permission.isActive(PermissionRole role) |
void |
Permission.setRole(PermissionRole role) |
Copyright © 2020 LeanIX GmbH. All rights reserved.