Annotation Interface RequiresAnyConfluenceAccess
@Deprecated(since="9.0.0")
@Retention(RUNTIME)
@Target({PACKAGE,TYPE,METHOD})
public @interface RequiresAnyConfluenceAccess
Deprecated.
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 checking SpacePermission.USE_CONFLUENCE_PERMISSION
permission, use
RequiresLicensedOrAnonymousConfluenceAccess
instead if that is the desired behaviour.
- Since:
- 5.9
AnonymousSiteAccess
instead