Commit Graph
14 Commits
Author SHA1 Message Date
Chris Meyers 82a808abc7 mock run_pexpect 2015-05-19 17:04:41 -04:00
Chris Church 79c00dc511 Prevent relaunching an ad hoc command if the module is no longer in the allowed list. Fixes https://trello.com/c/NS3YX2DU 2015-05-11 21:05:46 -04:00
Chris Church 2d1d371582 Return 400 when attempting to relaunch an ad hoc command with deleted inventory. Fixes https://trello.com/c/IbvBelXJ 2015-05-11 20:32:43 -04:00
Chris Church 9e898bf42a Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V 2015-05-11 20:14:15 -04:00
Chris Church 7be54d585b Fix RBAC query bug in checking if user can run ad hoc commands. Fixes https://trello.com/c/fl36Hvh3 2015-04-16 15:27:16 -04:00
Chris Church 6dda8e58ad Don't return ids for deleted credential/inventory for ad hoc commands. Fixes https://trello.com/c/ps2bW38Q 2015-04-16 14:31:23 -04:00
Chris Church 96df8a6d37 Add field on inventory detail to indicate if the user has permission to run ad hoc commands. 2015-04-06 14:58:26 -04:00
Matthew Jones 037c7342c0 Merge branch 'credential_becomes_refactor' into upstream_master
* credential_becomes_refactor:
  Move 'become_enabled' to JobOptions to allow a toplevel field to exist on the Job model also.  Update tasks and migrations to reflect this
  Last of the ad-hoc priv escalation unit test fixes
  Fixing up some unit tests for "become" refactor
  Changing up ad-hoc based unit tests to follow the new "become" refactor
  Migrate ad-hoc feature to use the new ansible become method if provided
  Refactor pbexpect string matches to submit become password
  Updates and fixes for unit tests on supporting ansible "become"
  Refactor credential to use ansible become if using a new enough ansible version.  Add become flag to job template

Conflicts:
	awx/main/tests/ad_hoc.py
2015-04-06 13:37:36 -04:00
Chris Church e2a6f100e1 Finish ad hoc command unit tests. 2015-04-05 18:32:04 -04:00
Matthew Jones 736f86fc72 Last of the ad-hoc priv escalation unit test fixes 2015-04-03 16:51:34 -04:00
Matthew Jones e8d010533f Fixing up some unit tests for "become" refactor 2015-04-03 16:26:52 -04:00
Matthew Jones beac5c30d2 Changing up ad-hoc based unit tests to follow the new "become" refactor 2015-04-03 15:35:04 -04:00
Chris Church 89bcffc9ad Fix flake8 warnings. 2015-03-31 17:48:36 -04:00
Chris Church f7b8d510dc Implement support for ad hoc commands. 2015-03-30 13:04:19 -04:00