[PR #10097/ff0ed6f9 backport][stable-10] rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint (#10151)

rundeck_acl_policy: fix project acls are put/posted to the wrong endpoint (#10097)

* Fix project acls are put/posted to the wrong endpoint

* Add changelog fragment.

* Fix 2.7 sanity errors in github

* Fix fragment extension and use 2.7 syntax in test

* Update changelogs/fragments/10097-fix-rundeck_acl_policy-project-endpoint.yml



* Fix pep8 formatting

* Add licensing to unit test

---------


(cherry picked from commit ff0ed6f912)

Co-authored-by: kjoyce77 <kevin.joyce@outlook.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-05-17 08:24:28 +02:00 committed by GitHub
commit 1f90168f37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 277 additions and 7 deletions

View file

@ -6,3 +6,32 @@
rundeck_url: http://localhost:4440
rundeck_api_version: 39
rundeck_job_id: 3b8a6e54-69fb-42b7-b98f-f82e59238478
system_acl_policy: |
description: Test ACL
context:
application: 'rundeck'
for:
project:
- allow:
- read
by:
group:
- users
project_acl_policy: |
description: Test project acl
for:
resource:
- equals:
kind: node
allow: [read,refresh]
- equals:
kind: event
allow: [read]
job:
- allow: [run,kill]
node:
- allow: [read,run]
by:
group: users