Class DefaultAnonymousUserPermissionsService

    • Method Detail

      • setUsePermission

        public void setUsePermission​(boolean enabled)
        Description copied from interface: AnonymousUserPermissionsService

        Set the 'use confluence' permission for the anonymous Confluence user.

        Note: This is the guard permission for any other anonymous user permissions. If this one is removed then any others will be too.

        Specified by:
        setUsePermission in interface AnonymousUserPermissionsService
        Parameters:
        enabled - if true then allow the anonymous user 'use' permission; otherwise disallow.