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

Agent/Delete permission is not respected #325

Open
ktaborski opened this issue Jul 19, 2021 · 0 comments
Open

Agent/Delete permission is not respected #325

ktaborski opened this issue Jul 19, 2021 · 0 comments
Labels

Comments

@ktaborski
Copy link
Contributor

Version report

Jenkins and plugins versions report:

jenkins v.2.222.4
openstack-cloud:2.53
role-strategy:2.16
  • What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins official image from docker hub.

Reproduction steps

  • I am trying to use role-based access strategy, permissions assigned to role:
            permissions:
            - "Agent/Build"
            - "Agent/Configure"
            - "Agent/Connect"
            - "Agent/Create"
            - "Agent/Delete"
            - "Agent/Disconnect"
            - "Agent/Provision"
            - "Job/Build"
            - "Job/Cancel"
            - "Manage ownership/Nodes"
            - "Overall/Read"
  • when user with above role assigned is clicking in UI "Schedule Termination" node is not being terminated. In jenkins log I can see line:
    [INFO] - [org.eclipse.jetty.server.handler.ContextHandler$Context] - [log] - While serving http://XXX/computer/taborski-test-2/scheduleTermination: hudson.security.AccessDeniedException2: test is missing the N/A/GenericDelete permission

Results

Expected result:

Node is scheduled for termination.

Actual result:

Node is not terminated.

@ktaborski ktaborski added the bug label Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant