Commit Graph

35 Commits

Author SHA1 Message Date
Christian Adams
4a0c371014 Fix flaky workflow test & set junit family 2020-03-18 14:02:33 -04:00
AlanCoding
daa9282790 Initial (editable) pass of adding JT.organization
This is the old version of this feature from 2019
  this allows setting the organization in the data sent
  to the API when creating a JT, and exposes the field
  in the UI as well

Subsequent commit changes the field from editable
  to read-only, but as of this commit, the machinery
  is not hooked up to infer it from project
2020-03-12 15:45:46 -04:00
Elijah DeLee
1e796076f5 Scan jobs have been removed, clean up old refs
see https://github.com/ansible/awx/issues/5603
2020-01-21 12:11:53 -05:00
AlanCoding
5720601a2e allow relaunching other user jobs with public vars 2019-04-30 08:07:45 -04:00
beeankha
de34a64115 Basic License feature gating changes 2019-04-12 11:28:27 -04:00
Ryan Petrello
f223df303f convert py2 -> py3 2019-01-15 14:09:01 -05:00
chris meyers
97ab6449b9 parallelize test running 2018-05-16 14:29:15 -04:00
Wayne Witzel III
819b318fe5 Add Org Execute 2018-02-10 02:52:26 +00:00
Wayne Witzel III
fbece6bdde Updating and adding tests for new RBAC roles 2018-02-10 02:52:26 +00: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
Matthew Jones
c1ce79d0a5 Fix up some issues on feature validation for licenses
Also purging and fixing up some unit test behavior
2017-07-13 10:27:43 -04:00
Matthew Jones
96a9d048b8 Remove any references to internal licensing utilities 2017-07-12 16:20:35 -04:00
Matthew Jones
8486944eaa Switch out existing obfuscated license with external module
This creates a new fallback license module called StubLicense that
will be used in the event that the tower_license module is not
installed.

All existing license mechanisms are routed through the get_licenser()
util method
2017-07-11 12:01:24 -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
Chris Meyers
fbebc58267 add tests for license add host duplicate or not logic 2017-01-26 15:16:33 -05:00
AlanCoding
31a95e5c04 fix up tests from workflow copy work 2016-11-22 11:35:40 -05:00
Aaron Tan
9e4655419e Fix flake8 E302 errors. 2016-11-15 20:59:39 -05:00
AlanCoding
c49200a024 remove db access from unit test 2016-11-08 10:12:53 -05:00
AlanCoding
9c30058abe improvements to related access unit tests 2016-11-07 17:01:22 -05:00
AlanCoding
cae2cdaad8 check related method small fixups 2016-11-07 08:53:04 -05:00
AlanCoding
f2846101a3 deal with a special null null case 2016-11-05 14:24:04 -04:00
AlanCoding
2279e1e8dc unit test related field checks, finialize scenarios 2016-11-05 13:45:07 -04:00
Alan Rominger
c6bbc63058 flake8 fix from release branch merge 2016-11-02 14:13:16 -04:00
Matthew Jones
c6cf02a602 Merge branch 'release_3.0.3' into devel
* release_3.0.3: (55 commits)
  Revert "Revert "Add needed types for selinux change""
  Revert "Add needed types for selinux change"
  interpret backslash escapes when displaying url in welcome message
  Bump the SELinux policy version
  Add needed types for selinux change
  Update SELinux policy to allow httpd_t to execute files in lib_t and var_lib_t
  Bumping changelog for 3.0.3
  Update rax.py inventory
  Revert "filter internal User.admin_roles from the /roles API list view"
  fix spelling of disassociated
  Resolves 404 when assigning resources/users to organizations in card view. Sidesteps a bug in the Refresh() utility, where pagination calculations are not made against filtered results.
  Sync azure changes to Tower virtual environment
  Add regions here as well.
  Also bump boto for new regions, per ryansb.
  More regions!
  Revert "bump shade version"
  bump shade version
  Hack copying of job_template.related.survey_spec into ui job copy flow, resolves #3737
  Revert "bump shade version"
  bump shade version
  ...
2016-11-01 11:49:28 -04:00
Matthew Jones
3d8eb48986 Test for HA license before allowing cluster job start 2016-10-20 16:50:49 -04:00
AlanCoding
e6273ce46e Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-09-26 13:19:12 -04:00
Wayne Witzel III
a4adda1ae7 only allow superusers to start a job from a SystemJobTemplate 2016-09-23 10:10:39 -04:00
AlanCoding
9acd50b8f3 inject WF node prompts into new jobs, new workflow RBAC tests 2016-09-21 16:04:43 -04:00
AlanCoding
2ffa7a91ec Workflow RBAC and prompting basic changes 2016-09-20 17:16:26 -04:00
AlanCoding
9da00c2d38 RBAC copy/edit displays test refactor 2016-09-07 17:08:07 -04:00
AlanCoding
a0c4bb5f6f fix bug with inventory in JT can_add 2016-06-15 11:59:16 -04:00
AlanCoding
ffc0b05a80 fix non-sensitive change becoming sensitive, add network cred in JT can_change 2016-06-14 12:20:02 -04:00
Wayne Witzel III
1adbcc03d0 update Access methods for superuser 2016-04-22 11:28:19 -04:00