| Package | Description |
|---|---|
| com.atlassian.stash.rest.client.api | |
| com.atlassian.stash.rest.client.api.entity |
| Modifier and Type | Method and Description |
|---|---|
Optional<Permission> |
StashClient.getCurrentUserRepositoryPermission(String projectKey,
String repositorySlug)
Retrieves user permission to given repository.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StashClient.addRepositoryKey(String projectKey,
String repositorySlug,
String publicKey,
String keyLabel,
Permission keyPermission)
Adds to the repository a new access key (SSH public key) with given permission
|
boolean |
StashClient.addRepositoryUserPermission(String projectKey,
String repositorySlug,
String userName,
Permission permission)
Sets permission for specified user on specified repository.
|
| Modifier and Type | Method and Description |
|---|---|
static Permission |
Permission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
Permission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2020 Atlassian. All rights reserved.