jenkinsci / jenkinsci/openmfa-plugin

Feature Request: Configurable MFA Scope for Elevated Permissions Only

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### What feature do you want to see added?

### Is your feature request related to a problem?
Currently, MFA enforcement applies broadly, which can create extra friction for users who do not perform administrative or security-sensitive actions.

### Describe the solution you'd like
Add a global configuration option to require MFA only for users who have any of the following Jenkins permissions:

- `Administer`
- `Manage`
- `SystemRead`

When enabled, users without these permissions should not be prompted/enforced for MFA.

### Additional context
In Jenkins, enumerable administrative permissions are easily identifiable, making it simple to apply more security rules on administrators. Also, for internal Jenkins services in isolated network environments, it reduces the need for ordinary users to perform additional operations. This would allow organizations to balance security and usability by focusing MFA on elevated-access users while reducing login friction for standard users.

### Upstream changes

_No response_

### Are you interested in contributing this feature?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.