| Package | Description |
|---|---|
| net.leanix.dropkit.oauth |
| 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 |
WorkspacePermission.hasRole(PermissionRole role)
Checks if the resource owner has the given role in the workspace.
|
boolean |
Permission.hasRole(PermissionRole role)
Checks if the permission has the given role.
|
boolean |
WorkspacePermission.isActive(PermissionRole role)
Convenience method to check user status and the given role.
|
boolean |
Permission.isActive(PermissionRole role) |
void |
Permission.setRole(PermissionRole role) |
Copyright © 2015. All rights reserved.