Commit Graph

33 Commits

Author SHA1 Message Date
Ryan Petrello 662ee6fa36 update a janky old test
UJT list views don't work this way anymore after
a929e82060
2020-11-05 12:29:06 -05:00
Ryan Petrello 6da445f7c0 remove /api/v1 and deprecated credential fields 2019-06-06 12:23:00 -04:00
beeankha de34a64115 Basic License feature gating changes 2019-04-12 11:28:27 -04:00
AlanCoding 4995ee7a60 remove admin_role for users 2018-04-12 13:18:49 -04:00
AlanCoding 133cca1446 fix WFJT user_capabilities special-case 2018-04-05 08:04:18 -04:00
AlanCoding 7b78a2ebcc update tests for new call pattern for capabilities prefetch 2018-02-26 12:13:41 -05:00
Ryan Petrello 28ce9b700e replace all Job/JT relations with a single M2M credentials relation
Includes backwards compatibility for now-deprecated .credential,
.vault_credential, and .extra_credentials

This is a building block for multi-vault implementation and Alan's saved
launch configurations (both coming soon)

see: https://github.com/ansible/awx/issues/352
see: https://github.com/ansible/awx/issues/169
2017-11-14 12:49:12 -05:00
Wayne Witzel III 96904968d8 Fix migration issues, tests, and templates 2017-11-09 17:29:48 -05:00
Ryan Petrello 7192d5c4bb include extra_credentials data in summary fields for JT/Job detail view
see: https://github.com/ansible/ansible-tower/issues/7521
2017-08-30 11:56:24 -04:00
AlanCoding bb3c4c78f8 do not allow inv src source_project of manual type 2017-07-06 15:44:21 -04:00
AlanCoding ad4a7fe033 access_registry made simple dict with auto registration 2017-06-29 15:17:37 -04:00
AlanCoding c6a3a7cc34 JT RBAC edits for extra_credentials and vault_credential 2017-05-12 17:13:58 -04:00
Ryan Petrello accf7cdea2 Replace Job/JT cloud/network credentials with a single M2M relation.
The following fields:

    * (Job | JobTemplate).cloud_credential
    * (Job | JobTemplate).network_credential

...are replaced by M2M relationships:

    * Job.extra_credentials
    * JobTemplate.extra_credentials

Includes support for task execution with multiple cloud credentials.

see: #5807
2017-05-03 13:36:59 -04:00
Wayne Witzel III 91f3e665cb group -> deprecated_group, added migrations, added/removed tests 2017-04-11 14:09:04 -04:00
Wayne Witzel III 7458788562 More updates for InventorySource changes 2017-04-11 14:04:25 -04:00
Wayne Witzel III 4b5b56c284 Fixing test fallout from InventorySource model change 2017-04-11 14:04:25 -04:00
Ryan Petrello 95ea370e5e add API versioning for /api/v2/ 2017-03-30 15:11:12 -04:00
AlanCoding 7967cc7722 force UJT user_capabilities to be correct for all submodels 2017-02-05 08:07:36 -05:00
AlanCoding 42cf74b085 block user from shooting themselves in the foot by scheduling a manual project 2016-11-19 11:48:28 -05:00
AlanCoding 48c155dfb0 schedule capability set to False for manual groups 2016-11-19 11:48:28 -05:00
Matthew Jones cb82809f10 Merge pull request #3935 from jladdjr/at-3532-typo
Minor typo fix (pointing workflow node template at unsupported unified job template)
2016-11-18 15:45:34 -05:00
Aaron Tan 9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
Jim Ladd 20840b9867 Fix all instances of can not 2016-11-09 17:03:25 -05:00
Alan Rominger cd8aeac5c3 Merge pull request #3644 from AlanCoding/3559_manual_proj
Set `start` capability to False for manual projects
2016-10-06 12:04:35 -04:00
AlanCoding d734145c38 start capability to return False for manual projects 2016-10-03 11:41:42 -04:00
AlanCoding 020c66f6ce make validate_license common to all can_start methods 2016-10-03 10:09:41 -04:00
AlanCoding 2f24d28638 fix bug where user content_object has no name attribute in access_list 2016-09-26 10:35:29 -04:00
AlanCoding 57abd438c8 make user_capabilities validation front-loaded, try to run tests 2016-09-22 10:36:30 -04:00
AlanCoding 8075e3876e minor flake8 fixes to rbac_display file 2016-09-13 10:07:02 -04:00
AlanCoding d77dc271d8 copy/edit display test refactor, copy prefetch added 2016-09-09 15:13:48 -04:00
AlanCoding 507ba6a778 add new case in prefetch method for foreign-key roles 2016-09-08 15:03:55 -04:00
AlanCoding 6b0df43f3b add unattach field to user and team roles list 2016-09-08 11:09:17 -04:00
AlanCoding 9da00c2d38 RBAC copy/edit displays test refactor 2016-09-07 17:08:07 -04:00