Class TriggeringUsersAuthorizationStrategy

    • Constructor Detail

      • TriggeringUsersAuthorizationStrategy

        @DataBoundConstructor
        public TriggeringUsersAuthorizationStrategy()
        Our constructor.
    • Method Detail

      • hasJobConfigurePermission

        public boolean hasJobConfigurePermission​(AccessControlled context)
        Tests if the job can be reconfigured by the current user when this strategy is the configured strategy. Users with Jenkins.ADMINISTER permission skips this check.
        Overrides:
        hasJobConfigurePermission in class AuthorizeProjectStrategy
        Parameters:
        context - the context of the job
        Returns:
        true if and only if the current user is allowed to reconfigure the specified job.