@ParametersAreNonnullByDefault public class PermissionsRpc extends Object
PermissionsResource
.
Available via ConfluenceRpc
.admin.permissions
.
Requires confluence-functest-rest-plugin to be installed.
If possible, you should use the similar client in confluence-test-utils instead: com.atlassian.confluence.test.rest.api.PermissionsRest, which calls the same resource.
Constructor and Description |
---|
PermissionsRpc(AuthenticatedWebResourceProvider resourceProvider) |
public PermissionsRpc(AuthenticatedWebResourceProvider resourceProvider)
public void addGlobalGroupPermissions(String groupName, GlobalPermission... permissions)
public void removeGlobalGroupPermissions(String groupName, GlobalPermission... permissions)
public void removeAllGlobalGroupPermissions(String groupName)
public void addGlobalUserPermissions(String userName, GlobalPermission... permissions)
public void removeGlobalUserPermissions(String userName, GlobalPermission... permissions)
public void addGlobalUnlicensedAuthenticatedPermissions(GlobalPermission... permissions)
public void removeGlobalUnlicensedAuthenticatedPermissions(GlobalPermission... permissions)
public void addGlobalAnonymousPermissions(GlobalPermission... permissions)
public void removeGlobalAnonymousPermissions(GlobalPermission... permissions)
public void addSpaceGroupPermissions(String spaceKey, String groupName, SpacePermission... permissions)
public void addAllSpaceGroupPermissionsExceptAdmin(String spaceKey, String groupName)
public void removeSpaceGroupPermissions(String spaceKey, String groupName, SpacePermission... permissions)
public void removeAllSpaceGroupPermissions(String spaceKey, String groupName)
public void addSpaceUserPermissions(String spaceKey, String userName, SpacePermission... permissions)
public void addAllSpaceUserPermissionsExceptAdmin(String spaceKey, String userName)
public void removeSpaceUserPermissions(String spaceKey, String userName, SpacePermission... permissions)
public void addSpaceUnlicensedAuthenticatedPermissions(String spaceKey, SpacePermission... permissions)
public void removeSpaceUnlicensedAuthenticatedPermissions(String spaceKey, SpacePermission... permissions)
public void addSpaceAnonymousPermissions(String spaceKey, SpacePermission... permissions)
public void removeSpaceAnonymousPermissions(String spaceKey, SpacePermission... permissions)
public void enableAnonymousUseConfluence()
public void disableAnonymousUseConfluence()
public void enableUnlicensedAuthenticatedUseConfluence()
public void disableUnlicensedAuthenticatedUseConfluence()
Copyright © 2003–2017 Atlassian. All rights reserved.