Class PermissionsRpc
- java.lang.Object
-
- com.atlassian.confluence.it.rpc.delegates.admin.PermissionsRpc
-
@ParametersAreNonnullByDefault public class PermissionsRpc extends Object
Makes remote calls toPermissionsResource
.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.
- Since:
- 5.9
-
-
Constructor Summary
Constructors Constructor Description PermissionsRpc(AuthenticatedWebResourceProvider resourceProvider)
-
Method Summary
-
-
-
Constructor Detail
-
PermissionsRpc
public PermissionsRpc(AuthenticatedWebResourceProvider resourceProvider)
-
-
Method Detail
-
addGlobalGroupPermissions
public void addGlobalGroupPermissions(String groupName, GlobalPermission... permissions)
-
removeGlobalGroupPermissions
public void removeGlobalGroupPermissions(String groupName, GlobalPermission... permissions)
-
removeAllGlobalGroupPermissions
public void removeAllGlobalGroupPermissions(String groupName)
-
addGlobalUserPermissions
public void addGlobalUserPermissions(String userName, GlobalPermission... permissions)
-
removeGlobalUserPermissions
public void removeGlobalUserPermissions(String userName, GlobalPermission... permissions)
-
addGlobalUnlicensedAuthenticatedPermissions
public void addGlobalUnlicensedAuthenticatedPermissions(GlobalPermission... permissions)
-
removeGlobalUnlicensedAuthenticatedPermissions
public void removeGlobalUnlicensedAuthenticatedPermissions(GlobalPermission... permissions)
-
addGlobalAnonymousPermissions
public void addGlobalAnonymousPermissions(GlobalPermission... permissions)
-
removeGlobalAnonymousPermissions
public void removeGlobalAnonymousPermissions(GlobalPermission... permissions)
-
addSpaceGroupPermissions
public void addSpaceGroupPermissions(String spaceKey, String groupName, SpacePermission... permissions)
-
addAllSpaceGroupPermissionsExceptAdmin
public void addAllSpaceGroupPermissionsExceptAdmin(String spaceKey, String groupName)
-
removeSpaceGroupPermissions
public void removeSpaceGroupPermissions(String spaceKey, String groupName, SpacePermission... permissions)
-
removeAllSpaceGroupPermissions
public void removeAllSpaceGroupPermissions(String spaceKey, String groupName)
-
addSpaceUserPermissions
public void addSpaceUserPermissions(String spaceKey, String userName, SpacePermission... permissions)
-
addAllSpaceUserPermissionsExceptAdmin
public void addAllSpaceUserPermissionsExceptAdmin(String spaceKey, String userName)
-
removeSpaceUserPermissions
public void removeSpaceUserPermissions(String spaceKey, String userName, SpacePermission... permissions)
-
addSpaceUnlicensedAuthenticatedPermissions
public void addSpaceUnlicensedAuthenticatedPermissions(String spaceKey, SpacePermission... permissions)
-
removeSpaceUnlicensedAuthenticatedPermissions
public void removeSpaceUnlicensedAuthenticatedPermissions(String spaceKey, SpacePermission... permissions)
-
addSpaceAnonymousPermissions
public void addSpaceAnonymousPermissions(String spaceKey, SpacePermission... permissions)
-
removeSpaceAnonymousPermissions
public void removeSpaceAnonymousPermissions(String spaceKey, SpacePermission... permissions)
-
enableAnonymousUseConfluence
public void enableAnonymousUseConfluence()
-
disableAnonymousUseConfluence
public void disableAnonymousUseConfluence()
-
enableUnlicensedAuthenticatedUseConfluence
public void enableUnlicensedAuthenticatedUseConfluence()
-
disableUnlicensedAuthenticatedUseConfluence
public void disableUnlicensedAuthenticatedUseConfluence()
-
-