support "exclude" or regex patterns in "assignments" in authorizationStrategy
See original GitHub issueYour checklist for this issue
🚨 Please review the guidelines for contributing to this repository.
- Link to any upstream changes that might be required (for example Jenkins Core pull request)
Feature Request
When Jenkins has been deployed with its user management database, in In role-strategy-plugin we can only have assignments
for users and only anonymous
and authenticated
groups. So, the limitation here is first we can’t create a new group due to the Jenkins limitations and when we want to give permission to all users except one or several users, then we have to define the list of all users in the assignments
field.
In our requirements, we look for having an excludes
field for users who have to have limited access to specific projects. It would be applicable if instead of the exclude
field, we support regex/pattern in assignments
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Role-based Authorization Strategy - Jenkins Plugins
The Role Strategy plugin is meant to be used from Jenkins to add a new role-based mechanism to manage users' permissions. Supported features....
Read more >[Terms] Allow multiple regex patterns into include/exclude
When you want to use the include/exclude filtering feature on the terms aggregation you can either give an array of strings (exact match)...
Read more >Help with regex include and exclude - Stack Overflow
I'm trying to create an expression that will include certain strings and exclude certain strings. For example: I would like to include any...
Read more >Exclude config content from comparison in NCM
The following are examples of regular expression patterns you can use to exclude config lines or blocks from comparison. RegEx pattern, End RegEx...
Read more >Regular expressions - JavaScript - MDN Web Docs
Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see, you feature request does belong to the
role-strategy-plugin
though this sounds like something you ought to solve in your authorization solution ie. AD, LDAP or SSO.We’ve tried to use single quotes but it still didn’t work 😦 Aha! ok, then we’re going to follow it up in the
role-strategy-plugin
repository. Thank you 👍