-
Notifications
You must be signed in to change notification settings - Fork 354
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-73038] Adapt plugin to allow user with Overall/Manage to configure global settings #846
Conversation
...va/com/cloudbees/jenkins/plugins/bitbucket/endpoints/BitbucketEndpointConfigurationTest.java
Fixed
Show fixed
Hide fixed
...va/com/cloudbees/jenkins/plugins/bitbucket/endpoints/BitbucketEndpointConfigurationTest.java
Fixed
Show fixed
Hide fixed
MockAuthorizationStrategy mockStrategy = new MockAuthorizationStrategy(); | ||
mockStrategy.grant(Jenkins.MANAGE).onRoot().to("admin"); | ||
j.jenkins.setAuthorizationStrategy(mockStrategy); | ||
try (ACLContext context = ACL.as(User.get("admin"))) { |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note test
User.get
@@ -5,7 +5,7 @@ | |||
<parent> | |||
<groupId>org.jenkins-ci.plugins</groupId> | |||
<artifactId>plugin</artifactId> | |||
<version>4.80</version> | |||
<version>4.81</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it risking conflict with the automatic dependency PR #844 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if so i will resolve it
@@ -30,6 +30,7 @@ | |||
<gitHubRepo>jenkinsci/bitbucket-branch-source-plugin</gitHubRepo> | |||
<jenkins.version>2.401.3</jenkins.version> | |||
<hpi.compatibleSinceVersion>2.0</hpi.compatibleSinceVersion> | |||
<useBeta>true</useBeta> <!-- Jenkins.MANAGE --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it supposed to stay or was it to test ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is required until an agreement can be had that its safe to take the Overall/Manage
permission feature out of beta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I read badly this conf, I thought it was forcing the plugin in beta mode -_-
My bad, sorry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries, i've also started JENKINS-73089 to address moving the Overall/Manage
permission out of beta
status
@LyroStedman / @basil / @rsandell could i get an additional review when you have a minute? |
@LyroStedman / @basil if you happy with the PR can you please merge it at your convenience? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @mikecirioli how are you doing :)
Adapt plugin to allow user with Overall/Manage to configure global settings under
Manage Jenkins
-->System
Jenkins Issue -> https://issues.jenkins.io/browse/JENKINS-73038
Your checklist for this pull request