Annotation Interface RequiresLicensedOrAnonymousConfluenceAccess
@Deprecated(since="9.0.0")
@Retention(RUNTIME)
@Target({PACKAGE,TYPE,METHOD})
public @interface RequiresLicensedOrAnonymousConfluenceAccess
Deprecated.
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
- Since:
- 5.9
LicensedOnly
and/orAnonymousSiteAccess
instead