
com.atlassian.jira.rest.client.plugin.scope.JiraReadUsersAndGroupsScope Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jira-rest-java-client-plugin Show documentation
Show all versions of jira-rest-java-client-plugin Show documentation
JIRA REST Java Client bundled as a plugin.
The newest version!
package com.atlassian.jira.rest.client.plugin.scope;
import com.atlassian.plugin.remotable.api.jira.JiraPermissions;
import com.atlassian.plugin.remotable.spi.permission.scope.RestApiScopeHelper;
import static java.util.Arrays.asList;
public final class JiraReadUsersAndGroupsScope extends JiraScope
{
public JiraReadUsersAndGroupsScope()
{
super(
JiraPermissions.READ_USERS_AND_GROUPS,
asList(
"getUser",
"getGroup"
),
asList(
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/user", asList("get")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/group", asList("get")),
new RestApiScopeHelper.RestScope("api", asList("latest", "2", "2.0.alpha1"), "/mypermissions", asList("get"))
));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy