Seth Foster
9700fb01f2
Fix awx CLI modify command for users with object-level permissions ( #16276 )
...
The awx CLI derives available fields for the `modify` command from
the list endpoint's POST action schema. Users with object-level
admin permissions (e.g., Project Admin) but no list-level POST
permission see no field flags, making modify unusable despite having
PUT access on the detail endpoint.
Fall back to the detail endpoint's action schema when POST is not
available on the list endpoint, and prefer PUT over POST when
building modify arguments.
Signed-off-by: Seth Foster <fosterbseth@gmail.com >
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-02-12 13:26:15 -05:00
Dave
12843eccf7
AAP-13369 Python 3.9 -> 3.11 upgrade ( #14771 )
...
* Python 3.9 -> 3.11 upgrade
* Test: updating azure-keyvault to 4.2.0
* Revert "Test: updating azure-keyvault to 4.2.0"
This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88.
* Test: updating azure-keyvault to latest and adding azure-identity
* Fix licenses
* Adding new licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
* Test: updating azure-keyvault to 4.2.0
* Fix licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
---------
Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com >
2024-03-13 14:41:40 +01:00
Alan Rominger
f0cd6b2457
Run flake8 on awxkit
2021-06-29 11:32:59 -04:00
Ryan Petrello
c2ef0a6500
move code linting to a stricter pep8-esque auto-formatting tool, black
2021-03-23 09:39:58 -04:00
Ryan Petrello
06b3e54fb1
remove python2 support from awxkit
2020-03-19 09:02:39 -04:00
Ryan Petrello
c882cda586
properly parse CLI arguments for launch endpoints
...
see: https://github.com/ansible/awx/issues/5093
2019-10-30 13:49:37 -04:00
Ryan Petrello
ee47e98c50
cli: make "detail" actions actually respect Allow: headers
2019-09-09 21:11:15 -04:00
Ryan Petrello
6762702868
cli: add support for granting and revoking roles from users/teams
2019-09-09 15:27:16 -04:00
Ryan Petrello
4ec5e82023
cli: add ability to specify a name instead of primary key
2019-09-03 17:27:10 -04:00
Ryan Petrello
2e8be41111
fix a formatting bug re: required arguments in the CLI
2019-08-22 17:05:53 -04:00
Ryan Petrello
80b4102aa9
support the new CLI in py2 *and* py3
2019-08-20 02:41:45 -04:00
Ryan Petrello
9616cc6f78
import awxkit
...
Co-authored-by: Christopher Wang <cwang@ansible.com >
Co-authored-by: Jake McDermott <jmcdermott@ansible.com >
Co-authored-by: Jim Ladd <jladd@redhat.com >
Co-authored-by: Elijah DeLee <kdelee@redhat.com >
Co-authored-by: Alan Rominger <arominge@redhat.com >
Co-authored-by: Yanis Guenane <yanis@guenane.org >
2019-08-08 22:12:31 -04:00