Package | Description |
---|---|
com.playsql.requirementyogi.api |
This is where you start when trying to use Requirement Yogi's Java APIs.
|
com.playsql.requirementyogi.api.permissions |
Permission-related classes and interfaces
|
Modifier and Type | Method and Description |
---|---|
PermissionChecker |
PermissionAPI.getChecker(com.atlassian.confluence.user.ConfluenceUser user,
Perm perm)
Returns a permission checker that caches the results.
|
boolean |
PermissionAPI.hasPermission(Requirement requirement,
com.atlassian.confluence.user.ConfluenceUser user,
Perm perm)
Checks whether the user has permissions on this requirement.
|
boolean |
PermissionAPI.hasPermission(String spaceKey,
com.atlassian.confluence.user.ConfluenceUser user,
Perm perm)
That one is even more honest, it just checks the permissions on the space.
|
Modifier and Type | Field and Description |
---|---|
private Perm |
PermissionException.perm |
Modifier and Type | Method and Description |
---|---|
Perm |
PermissionException.getPerm() |
static Perm |
Perm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Perm[] |
Perm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
PermissionException(String spaceKey,
String reqKey,
Integer baseline,
String userFullName,
Perm perm) |
Copyright © 2020 Play SQL. All rights reserved.