Interface SpaceAdministrative
-
- All Known Implementing Classes:
AbstractDecoratorAction
,AbstractLookAndFeelAction
,AbstractThemeAction
,ChooseThemeAction
,ChooseThemeAction
,ColourSchemeAction
,CustomPageContentAction
,EditDecoratorAction
,EditSpacePermissionsAction
,ListPermissionPagesAction
,LookAndFeelAction
,RestoreExistingTrashItemAction
,RestorePageAction
,RestoreTrashItemAction
,SpaceColourSchemeAction
,SpaceEditDecoratorAction
,SpaceLookAndFeelAction
,SpaceViewDefaultDecoratorAction
,ViewDefaultDecoratorAction
,ViewSpacePermissionsAction
public interface SpaceAdministrative
Deprecated.since 2.8. Please avoid this interface. Instead overrideConfluenceActionSupport.isPermitted()
and usePermissionManager.hasPermission(User, Permission, Object)
instead.This will make it easier to determine the permissions required to invoke an action as they would be more explicit and in one place (you won't have to check whether the class or its super class implements this interface). Also implement
BreadcrumbAware
and call:BreadcrumbGenerator
's getSpaceAdminBreadcrumb methodMarks the implementing action class as an administrative action so that the base permission checks check the "administer space" permission too. It is also used by theBreadcrumbGenerator
to generate an appropriate breadcrumb.