Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JENKINS-67757] Permission templates #237

Merged
merged 16 commits into from
Jul 14, 2023

Conversation

mawinter69
Copy link
Contributor

@mawinter69 mawinter69 commented Aug 26, 2022

Permission templates allow to define a set of permissions only once and then reuse them for many roles.
Instead of having to repeatedly enter all the permissions you now just select the template and get all permissions.
The permissions of roles that are based on a templated can't be modified.
Changing a template will affect all roles that use the template.

See JENKINS-69318 and JENKINS-67757

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

@mawinter69 mawinter69 requested a review from a team as a code owner August 26, 2022 21:59
@mawinter69 mawinter69 marked this pull request as draft August 26, 2022 21:59
The Role Generator allows to generate roles that are a combination of
one or more permission templates and one or more role templates.
A permission template defines a name with a set of permissions.
A Role template defines a name with a pattern.
The generator now applies each permission template to each role template
creating a new Role with name "#<permissiontemplate name>-<role template
name>
E.g. "#admin-team1"
- fix icon
- add more info to the role generator
@mawinter69 mawinter69 changed the title [JENKINS-69318] Role Generator [JENKINS-67757] Role Generator Jul 10, 2023
@mawinter69 mawinter69 changed the title [JENKINS-67757] Role Generator [JENKINS-67757] Permission templates Jul 10, 2023
@mawinter69 mawinter69 marked this pull request as ready for review July 13, 2023 16:45
@mawinter69 mawinter69 merged commit ae39b13 into jenkinsci:master Jul 14, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant