Class XmlRpcPermissionsClient


  • public class XmlRpcPermissionsClient
    extends Object
    You probably want PermissionsRpc instead!

    This is a client specifically for use by acceptance tests of the legacy XmlRpc implementation: methods formerly on ConfluenceRpc. Don't use this in code that isn't an XmlRpcAcceptanceTest.

    Since:
    5.9.1
    • Constructor Detail

      • XmlRpcPermissionsClient

        public XmlRpcPermissionsClient​(ConfluenceRpc rpc)
    • Method Detail

      • grantAnonymousUsePermission

        public void grantAnonymousUsePermission()
      • revokeAnonymousUsePermission

        public void revokeAnonymousUsePermission()
      • grantAnonymousViewUserProfilePermission

        public boolean grantAnonymousViewUserProfilePermission()
      • enableAnonymousAccess

        public void enableAnonymousAccess()
      • disableAnonymousAccess

        public void disableAnonymousAccess()
      • grantAnonymousPermission

        public void grantAnonymousPermission​(SpacePermission permission,
                                             Space space)
      • grantAllPermissionsExceptAdmin

        public void grantAllPermissionsExceptAdmin​(Entity entity,
                                                   Space space)
      • revokeAllPermissions

        public boolean revokeAllPermissions​(Group group)
      • getPermissionsForUser

        public List<String> getPermissionsForUser​(Space space,
                                                  User user)