Annotation Type RequiresLicensedOrAnonymousConfluenceAccess
-
@Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface RequiresLicensedOrAnonymousConfluenceAccess
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()
ORAccessStatus.hasAnonymousAccess()
is true for the current user's access status. This should also be used as a replacement for checkingSpacePermission.USE_CONFLUENCE_PERMISSION
- Since:
- 5.9