public class ProjectPermissionSchemesApi extends Object
| Constructor and Description |
|---|
ProjectPermissionSchemesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<PermissionScheme> |
assignPermissionScheme(String projectKeyOrId,
IdBean idBean,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Assign permission scheme
Assigns a permission scheme with a project.
|
io.reactivex.Single<PermissionScheme> |
getAssignedPermissionScheme(String projectKeyOrId,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get assigned permission scheme
Gets the [permission scheme](https://confluence.atlassian.com/x/yodKLg) associated with the project.
|
io.reactivex.Single<SecurityScheme> |
getProjectIssueSecurityScheme(String projectKeyOrId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project issue security scheme
Returns the [issue security scheme](https://confluence.atlassian.com/x/J4lKLg) associated with the project.
|
io.reactivex.Single<ProjectIssueSecurityLevels> |
getSecurityLevelsForProject(String projectKeyOrId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project issue security levels
Returns all [issue security](https://confluence.atlassian.com/x/J4lKLg) levels for the project that the user has access to.
|
public ProjectPermissionSchemesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<PermissionScheme> assignPermissionScheme(String projectKeyOrId, IdBean idBean, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectKeyOrId - The project ID or project key (case sensitive). (required)idBean - (required)expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<PermissionScheme> getAssignedPermissionScheme(String projectKeyOrId, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectKeyOrId - The project ID or project key (case sensitive). (required)expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are included when you specify any value. Expand options include: * `all` Returns all expandable information. * `field` Returns information about the custom field granted the permission. * `group` Returns information about the group that is granted the permission. * `permissions` Returns all permission grants for each permission scheme. * `projectRole` Returns information about the project role granted the permission. * `user` Returns information about the user who is granted the permission. (optional)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<SecurityScheme> getProjectIssueSecurityScheme(String projectKeyOrId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectKeyOrId - The project ID or project key (case sensitive). (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<ProjectIssueSecurityLevels> getSecurityLevelsForProject(String projectKeyOrId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectKeyOrId - The project ID or project key (case sensitive). (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.