Commit Graph
29 Commits
Author SHA1 Message Date
Gabriel Muniz a63067da38 Add instance groups roles (#13584)
* adding roles to instance groups
added ResourceMixin to Instancegroup and changed the filtered_queryset

* added necessary changes to rebuild relationship between IG and roles

* added description to InstanceGroupAccess

* preliminary ui plug for demo purposes

* preliminary ui plug for demo purposes
added inventory special logic for use_role to allow attaching instance groups
added more tests to handle those cases

* Add access_list to InstanceGroup

* scratch branch to test migration work

* refactored to shorten logic

* Added migration and am removing logic that enabled Org admin permissions

* Add Obj admin role to JT, Inv, Org

* Changed tests to reflect new permissions

* refactored some of the tests

* cleaned up more tests and reworded help on InstanceGroupAccess

* Removed unnecessary delete of Route for instance group perms change

* Fix UI tests and migration

* fixed permissions on prompt for InstanceGroups

* added related object roles endpoint

* added ui/api function for options instance_groups

* separate the migrations in order to avoid issues with migrations not being finished

* changed migrations parent class to disable the activity stream error in migrations

* Added logging to migration as activitystream is disabled

* added clarifying comment to jobtemlateaccess and linted UI addition

* renamed migrations to avoid collisions

* Rename migrations to avoid collisions
2023-03-14 21:37:22 -04:00
Gabriel Muniz 11475590e7 Merge pull request #13648 from gamuniz/update_inventory_import
Update inventory import to cancel on failure from cli.
2023-03-13 21:34:05 -04:00
Gabriel Muniz 2f3e65d4ef Merge pull request #13679 from gamuniz/fix_migration_collision
Fix migration name collision
2023-03-12 18:24:14 -04:00
Gabe Muniz cc18c1220a Fix migration name collision 2023-03-12 18:01:54 -04:00
Gabe Muniz 8e6f4fae80 enable scm branch ui work 2023-03-07 17:50:06 -05:00
Gabe Muniz 3aba5b5a04 Revert EE selectable work in favor of rewriting later 2023-03-03 16:34:43 -05:00
Gabe Muniz 5c19efdc32 Add execution environment args and pass to inv source 2023-03-03 16:02:46 -05:00
Gabriel Muniz 77ec46f6cf Merge pull request #13593 from gamuniz/fix_workflowapproval_view
Make /api/v2/workflow_approvals/ endpoint read-only
2023-02-17 18:19:04 -05:00
Gabe Muniz fb2647ff7b changing the signature of workflowapprovallist
included workflow approval as a read only endpoint to pass collection tests
2023-02-17 14:57:54 -05:00
Gabe Muniz 0d7bbb4389 [AAP-8682] adding Schedule to dependent_export to allow previous behavior on job template export 2023-02-08 16:19:29 -05:00
Gabe Muniz ffdcb9f4dd fixed error in help dialog 2023-01-31 12:54:17 -05:00
Gabe Muniz 2d9da11443 refactored the code to pass both enable and disable flags 2023-01-30 21:07:17 -05:00
Gabe Muniz d64b6d4dfe adding new management command to allow failsafe enabling of local authenication for disaster recovery or in case 3rd party authenication becomes unavailable 2023-01-30 14:31:26 -05:00
Gabe Muniz dab7d91cff adding new management command to allow failsafe enabling of local authenication for disaster recovery or in case 3rd party authenication becomes unavailable 2023-01-26 14:11:17 -05:00
Gabe Muniz cc336e791c fix expected test result 2022-12-16 12:30:57 -05:00
Gabe Muniz c2a3c3b285 The current behavior of workflow job templates is to pass in an empty string as scm_branch on allsaves and edits. This becomes problematic when using job templates/workflows which allow prompt on launch for scm_branch as it may override the scm_branch set for the individual workflow nodes to an empty string. That behavior limits the usefulness of prompting scm branch as it can no longer by selected while creating workflows as they'll be overwritten. 2022-12-16 12:30:57 -05:00
Gabe Muniz 0de900a021 fixed for flake8 compliance 2020-07-29 13:13:01 -04:00
Gabe Muniz 9b06fb1e6a added helpful messaging using profile sql 2020-07-29 12:48:01 -04:00
Gabe Muniz 1edae24644 fixed broken UI links 2020-07-13 15:36:07 -04:00
Gabe Muniz ff90e64448 fixed broken UI links 2020-07-13 14:53:34 -04:00
gamuniz 563d3944ed removed pass per feedback 2020-05-26 11:21:58 -04:00
Gabe Muniz 492d01ff3b added try/except to virtual env 2020-05-26 11:21:49 -04:00
gamuniz 8b2c65a3fa removed pass per feedback 2020-05-11 18:02:25 -04:00
Gabe Muniz 1590c69590 added try/except to virtual env 2020-05-11 17:10:01 -04:00
Gabe Muniz 80234c5600 rework the tar to always delete the leftover directories 2020-03-16 19:54:15 +00:00
Gabe Muniz b9829e2bde removed extra quotes in example 2020-03-10 23:08:38 +00:00
Gabe Muniz a264b1db1f made licensing a warning and not trigger on periodic scheduler 2020-01-23 14:08:23 -05:00
Gabe Muniz 23a7151278 fixed insights api 204 errors 2019-09-06 09:27:17 -04:00
Gabe Muniz bd93d97a60 fix so enabled value is case insensitive 2019-06-13 15:36:54 -04:00