Annotation Interface RequiresLicensedOrAnonymousConfluenceAccess


@Deprecated(since="9.0.0") @Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface RequiresLicensedOrAnonymousConfluenceAccess
Deprecated.
since 9.0.0 please use LicensedOnly and/or AnonymousSiteAccess instead
Add this annotation to an action invocation method, action class, or package to allow users with licensed access or anonymous access (if anonymous access is enabled) to execute the target action.

Equivalent to checking if AccessStatus.hasLicensedAccess() OR AccessStatus.hasAnonymousAccess() is true for the current user's access status. This should also be used as a replacement for checking SpacePermission.USE_CONFLUENCE_PERMISSION

See ConfluenceAccessInterceptor

Since:
5.9