Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding 996b75b978 update test_rbac_api to new object_roles naming 2016-06-10 10:48:34 -04:00
AlanCoding 6e92bc3668 modularize the job unit tests 2016-06-08 15:44:11 -04:00
AlanCoding 2cf0694adf move job view test to serializer unit test 2016-06-08 14:56:00 -04:00
AlanCoding 04b8eb4eaf add mk_job to factories, use with survey passwords 2016-06-08 13:43:19 -04:00
AlanCoding 39b410ae3e hide passwords in job_args and activity stream 2016-06-08 10:28:53 -04:00
AlanCoding 53327dea2b Bug fixes related to survey corner cases and survey test refactor 2016-06-02 08:58:59 -04:00
AlanCoding 7e35925e2d style update to can_start_without_user_input 2016-06-01 11:07:14 -04:00
AlanCoding 74beca5b74 cleanup of Job Template tests and fixtures 2016-05-31 16:03:03 -04:00
AlanCoding 1a4c92f027 make some JT tests unit tests and update others 2016-05-31 14:34:51 -04:00
AlanCoding 07cc99b4c7 start updating tests to JT factory 2016-05-31 14:34:51 -04:00
AlanCoding cfd9d5d4f1 Refactor of JT related field checking 2016-05-31 14:34:51 -04:00
AlanCoding 1ec2c1b3b7 new tests, and stricter can_copy can_edit 2016-05-31 14:34:51 -04:00
AlanCoding 381e44c2a2 updates for job can_delete 2016-05-26 16:42:33 -04:00
AlanCoding 3208030202 job read access for org auditors 2016-05-26 16:42:33 -04:00
AlanCoding 44c518ef44 allow org admins read access to orphaned jobs 2016-05-26 16:42:33 -04:00
AlanCoding 9ed77508a7 fix naming problem with ActivityStream logging 2016-05-23 16:48:30 -04:00
AlanCoding f695caf1ac auto associate JT creator with admin_role 2016-05-23 14:56:23 -04:00
AlanCoding 3f63172ac4 inventory exec role changed to use 2016-05-20 15:36:00 -04:00
AlanCoding dfec286bed All non-superusers to create prompted JTs 2016-05-20 15:30:58 -04:00
AlanCoding 5bc0403d9c add spaces around euality operator 2016-05-18 15:18:27 -04:00
AlanCoding f6b3da0c46 Make error message grammar more consistent 2016-05-18 13:39:06 -04:00
AlanCoding f19088db1b fix job_type change 500 error, patch up runtime tests 2016-05-18 09:24:33 -04:00
AlanCoding a7fed53efc implement a default ordering for ActivityStream 2016-05-17 11:24:13 -04:00
AlanCoding 9cc8ae9329 ActivityStream access checking test for most resources 2016-05-17 10:39:38 -04:00
AlanCoding 4e2e4667de test for activity stream selective access 2016-05-17 09:06:08 -04:00
AlanCoding f805f43eaa new fixtures for activity stream tests 2016-05-17 09:06:07 -04:00
AlanCoding c8863a10b1 add access filters to the ActivityStream list 2016-05-17 09:06:07 -04:00
AlanCoding f9c177edd5 More accurate test to check validation of bad data 2016-05-10 10:05:46 -04:00
AlanCoding 9bf2b63ca9 implement organization cts for sublists with mixin 2016-05-09 16:28:29 -04:00
AlanCoding 3d26506c8e allow blank credential owner fields 2016-05-09 11:34:49 -04:00
AlanCoding db6f50b9f4 fix ordereddict programming error 2016-05-08 15:41:59 -04:00
AlanCoding 06f68bc466 Protect against special scan job cases in job runtime validation 2016-05-06 15:12:49 -04:00
AlanCoding 532583ed27 add periods throughout access.py 2016-05-06 11:44:30 -04:00
AlanCoding fe1a0e2aa8 JT survey license check test migrations 2016-05-06 11:40:10 -04:00
AlanCoding 92efb2d317 exception for dual-name questions and more tests 2016-05-05 15:53:35 -04:00
AlanCoding a85f5a6a63 started tests for survey spec 2016-05-05 14:37:17 -04:00
AlanCoding 91c7dee2f6 Add error messages in permission denied cases 2016-05-05 14:31:17 -04:00
AlanCoding b1dfa28459 hit the is_valid method before stripping the special fields in credential view 2016-05-05 14:30:39 -04:00
AlanCoding 097c450581 new serializer to remove owner fields from credential detail views 2016-05-05 14:30:39 -04:00
AlanCoding 2d38a582ec short Tower version docs link 2016-05-05 09:08:40 -04:00
AlanCoding 59ed24e2c2 make template docs link dynamic wrt version 2016-05-05 09:08:40 -04:00
AlanCoding 44d57bf4c3 update test to new error message 2016-05-04 19:45:23 -04:00
AlanCoding 87093ec8af reject runtime extra vars that are strings 2016-05-04 19:45:23 -04:00
AlanCoding 18f48875c7 change 404 errors to PermissionDenied for those with links 2016-05-04 16:14:21 -04:00
AlanCoding 2d230919f0 reorganizing migration numbering 2016-05-03 16:41:43 -04:00
AlanCoding 01ec242b61 display all JT defaults for UI purposes 2016-05-03 15:54:45 -04:00
AlanCoding 3e680329fd add additional launch endpoint fields for UI 2016-05-02 16:41:19 -04:00
AlanCoding cd0b9655db make sysv and initctl non-exclusive 2016-05-02 12:29:03 -04:00
AlanCoding a2c2ccab20 credential owner fields changed to PK related field to solve 1671 2016-04-28 10:16:37 -04:00
AlanCoding d5a3951d52 break up test into 2, isolating context 2016-04-27 15:58:16 -04:00
AlanCoding 4af1e0a9bf remove additional resource creation in test context 2016-04-27 15:30:51 -04:00
AlanCoding a7311a69c9 runtime test fixtures organized better 2016-04-27 14:24:54 -04:00
AlanCoding 271701a968 clean up unused test code 2016-04-27 10:43:03 -04:00
AlanCoding 5dc17cd72f New tests for user launching/relaunching with credential/inventory access 2016-04-27 09:03:38 -04:00
AlanCoding 7ac59de75e scan jobs linked by inventory in org JT counts 2016-04-22 16:41:58 -04:00
AlanCoding 5e05859c20 add credential to job ask_ properties 2016-04-22 15:07:38 -04:00
AlanCoding 6958fb457a display of ask_ vars on job model 2016-04-22 14:56:54 -04:00
AlanCoding f9415da6bf allow credentials to be created in UI, docs for special owner fields 2016-04-22 13:48:55 -04:00
AlanCoding 64fc0c8ecb Mock out job start related stuff in runtime tests 2016-04-21 14:07:39 -04:00
AlanCoding 43fb601346 include ask_credential for launch endpoint 2016-04-20 15:30:52 -04:00
AlanCoding ca682fb362 remove connection error in fresh install, mongo setting in dev environment 2016-04-20 10:15:06 -04:00
AlanCoding 1a97773aa1 remove more save calls 2016-04-18 14:36:18 -04:00
AlanCoding 5abde762ae updates to prompt-for tests and logic for new RBAC updates 2016-04-18 14:29:30 -04:00
AlanCoding 9c75ced9f8 Merge branch 'devel' of https://github.com/ansible/ansible-tower into 11th-hour 2016-04-18 14:12:13 -04:00
AlanCoding fb013ed7f1 org counts: un-skip tests, more thorough counting 2016-04-18 11:15:05 -04:00
AlanCoding 333730f30e make special case for no results slightly more clear 2016-04-18 10:51:27 -04:00
AlanCoding 500ebdbbd2 fix index error generating organization detail view context 2016-04-18 08:56:04 -04:00
AlanCoding e0bd906de8 fill in extra_vars to content box even if ask_for_vars false and survey enabled 2016-04-15 14:59:20 -04:00
AlanCoding d196024155 fix problems with wording in template 2016-04-13 15:32:03 -04:00
AlanCoding dc37f00d0a use parent serializer method to avoid API browser job access check 2016-04-13 15:19:10 -04:00
AlanCoding 914918b5ae update permission logic, update job runtime tests 2016-04-13 13:30:06 -04:00
AlanCoding 6fc51e2d85 preparing for new incoming migrations 2016-04-12 17:09:25 -04:00
AlanCoding b0bbeb2ca8 move credential to prompt-for mechanism 2016-04-12 17:09:25 -04:00
AlanCoding 0dff851f62 JT validator: check for prompt_for cases to reject, and flake8 2016-04-12 17:09:25 -04:00
AlanCoding 52d8993aa8 update tests to conform to new credential behavior and launch response 2016-04-12 17:09:24 -04:00
AlanCoding 86aa0136a2 runtime inventory compatibility with blank, and resolve issue #1453 2016-04-12 17:09:24 -04:00
AlanCoding f471f9b072 change migration to allow blank inventory field 2016-04-12 17:09:24 -04:00
AlanCoding 68d8d25d64 fill in prompted data from JT, use standard launch permission, and compat code 2016-04-12 17:09:24 -04:00
AlanCoding 056a7d798a prompt-for vars in API browser box smart behavior 2016-04-12 17:09:24 -04:00
AlanCoding bea15021b3 ask_for_inventory permissions and runtime tests finished
cleanup prompt-for additions

update migration after rebase
2016-04-12 17:09:24 -04:00
AlanCoding 19b855a4d3 prompt-for acceptance code in JT model 2016-04-12 17:09:24 -04:00
AlanCoding cc84ed51d6 Add ability to prompt for several variable types on launch 2016-04-12 17:09:24 -04:00
AlanCoding 98dd79775b series of tests to verify user executing permissions 2016-04-12 11:37:33 -04:00
AlanCoding 531c6afa58 further clarify OpenStack options, consolidate to one PopOver 2016-03-31 09:40:01 -04:00
AlanCoding f6d174c337 remove ID wording from label, it is not correct 2016-03-30 16:20:20 -04:00
AlanCoding fa92b2e851 back out openstack_v3 options but retain v3 functionality 2016-03-30 16:20:20 -04:00
AlanCoding 18d2a30ff4 skip test for current devel branch, planned for RBAC 2016-03-28 09:23:33 -04:00
AlanCoding f8656b38e7 implemented RBAC version of org detail counts, test passes 2016-03-24 16:38:45 -04:00
AlanCoding 39f444836b flake8 fix 2016-03-23 17:25:27 -04:00
AlanCoding 02b7149cad Org counts in detail view and test 2016-03-23 17:13:43 -04:00
AlanCoding e7d36299be redesign of organization counts for RBAC branch 2016-03-23 14:56:31 -04:00
AlanCoding fcc02f7678 rebase and rename migrations corresponding to devel change 2016-03-18 16:45:06 -04:00
AlanCoding f4b1de766d Adding OpenStack v3 cred type 2016-03-18 16:41:09 -04:00
AlanCoding c807d5dcf3 Add keystone v3 support via new domain field on credential 2016-03-18 16:41:09 -04:00
AlanCoding a0ce6d7a25 fix regression of development package naming 2016-03-17 22:54:12 -04:00
AlanCoding 52cd4f5ef9 reduce test to only check project inventory connection 2016-03-15 15:06:00 -04:00
AlanCoding da39f1269a org counts code restructing to better prepare for RBAC merge 2016-03-15 14:36:56 -04:00
AlanCoding 6996ea22b0 style tweaks, add one more assertion 2016-03-13 22:39:52 -04:00
AlanCoding 39c9563352 test and fix for POST to empty list scenaro and JT count fix 2016-03-13 20:40:21 -04:00
AlanCoding 9f25a48936 fix for POST scenario 2016-03-13 11:45:08 -04:00