Annotation Type RequiresAnyConfluenceAccess
-
@Retention(RUNTIME) @Target({PACKAGE,TYPE,METHOD}) public @interface RequiresAnyConfluenceAccess
Add this annotation to an action invocation method, action class, or package to allow any user with Confluence access to execute the target action. This includes (but is not limited to):- Users with licensed access
- Users with unlicensed authenticated access (if unlicensed access is enabled)
- Anonymous users with access (if anonymous access is enabled)
Equivalent to checking
AccessStatus.canUseConfluence()
for the current user's access status. Note: This is NOT the same as checkingSpacePermission.USE_CONFLUENCE_PERMISSION
permission, useRequiresLicensedOrAnonymousConfluenceAccess
instead if that is the desired behaviour.- Since:
- 5.9