question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support "exclude" or regex patterns in "assignments" in authorizationStrategy

See original GitHub issue

Your 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:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jetersencommented, Dec 27, 2020

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.

0reactions
mortymacscommented, Dec 27, 2020

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 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found