Class RoleStrategyRootAction
java.lang.Object
com.michelin.cio.hudson.plugins.rolestrategy.RoleStrategyRootAction
- All Implemented Interfaces:
ExtensionPoint,Action,ModelObject,RootAction,org.kohsuke.stapler.StaplerProxy
@Extension
public class RoleStrategyRootAction
extends Object
implements RootAction, org.kohsuke.stapler.StaplerProxy
Provides a root-level link for users with ITEM_ROLES_ADMIN or AGENT_ROLES_ADMIN permissions
who do not have SYSTEM_READ permission (and thus cannot access Manage Jenkins).
This action delegates to the RoleStrategyConfig for actual page handling.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDelegate all page handling to RoleStrategyConfig.
-
Constructor Details
-
RoleStrategyRootAction
public RoleStrategyRootAction()
-
-
Method Details
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
getTarget
Delegate all page handling to RoleStrategyConfig. This allows the RootAction to serve at /role-strategy while reusing all the logic.- Specified by:
getTargetin interfaceorg.kohsuke.stapler.StaplerProxy
-