Commit Graph
6969 Commits
Author SHA1 Message Date
Akita Noek 849a9c08b0 Drop our implicit order by inventory for Host models
Sorting by inventory (which is really by inventory.name) which is
untenable for a large number of hosts
2016-04-16 18:30:30 -04:00
Akita Noek 850e4c3ace Test fixes and a couple of view optimizations 2016-04-16 18:30:06 -04:00
Akita Noek 5d0c6cc044 Switch to custom ancestry table for some optimized queries
Now we can stuff some more data in this table so we can take advantage
of some multi-column indexing and avoid another to join for our
accessible objects and permissions queries.
2016-04-16 18:27:57 -04:00
Akita Noek 25303cf4ec Reverted user owner_role back to admin_role 2016-04-16 18:24:26 -04:00
Akita Noek 6c50d0793d More test fixes 2016-04-16 10:22:03 -04:00
Akita Noek 2c45f79298 Migration updates for RolePermission removal 2016-04-16 08:47:51 -04:00
Akita Noek 7659da6162 Fixes for old/ad_hoc.py tests 2016-04-16 08:36:36 -04:00
Akita Noek 7bfc8cd43b flake8 2016-04-15 17:22:48 -04:00
Akita Noek 302774e85d Fixed up access_list functionality 2016-04-15 16:47:12 -04:00
Akita Noek 5e7b6ed084 fixes for api/test_credential.py 2016-04-15 16:29:22 -04:00
Akita Noek d5bc455677 admins can use credentials too 2016-04-15 16:27:24 -04:00
Akita Noek 1fa70106d8 Added read_role to credential 2016-04-15 16:26:59 -04:00
Akita Noek 8c8c8a624f Updates to views.py for RolePermission removal 2016-04-15 16:18:17 -04:00
Akita Noek 527be453a4 fix last cred test 2016-04-15 16:11:44 -04:00
Akita Noek c440aefd85 fix jt tests 2016-04-15 16:08:14 -04:00
Akita Noek 926d58b8b7 Merge branch '11th-hour' of github.com:anoek/ansible-tower into 11th-hour 2016-04-15 15:56:10 -04:00
Akita Noek 2979f6e6d3 jobtemplate execute_role is now child of admin_role 2016-04-15 15:55:59 -04:00
Akita Noek a678927d76 Merge pull request #7 from wwitzel3/11th-hour
fixing credential access
2016-04-15 15:32:49 -04:00
Wayne Witzel III c3923da37a fixing credential access 2016-04-15 15:31:31 -04:00
Akita Noek 262de7cdc9 Merge pull request #6 from wwitzel3/11th-hour
fix team tests
2016-04-15 15:29:28 -04:00
Wayne Witzel III 6229e978e9 fix team tests 2016-04-15 15:26:49 -04:00
Akita Noek d2a81f46e3 Fixed up last test case for host access 2016-04-15 15:16:47 -04:00
Akita Noek 8653b61cc0 accessible_by -> in changes in test_rbac_inventory.py 2016-04-15 15:08:40 -04:00
Akita Noek 8f70884c2a role check fix 2016-04-15 15:08:12 -04:00
Akita Noek 2ddac6cb64 Fixed up some role parenting 2016-04-15 15:07:50 -04:00
Akita Noek 7b301e11f3 Merge pull request #5 from wwitzel3/11th-hour
fix User.accessible_objects
2016-04-15 14:59:55 -04:00
Akita Noek a361f14266 Added adhoc_role to inventory and group, read_role to CustomInventorySource 2016-04-15 14:57:08 -04:00
Wayne Witzel III d9538b200a fix User.accessible_objects 2016-04-15 14:57:01 -04:00
Akita Noek fa10d562c1 Replaced get user permissions with get_roles_on_resource 2016-04-15 14:36:52 -04:00
Akita Noek 128a4f1823 Added read_role to inventory, group, and job templates 2016-04-15 14:33:09 -04:00
Akita Noek b25894aae8 New field name fixes 2016-04-15 12:19:06 -04:00
Akita Noek 9f5caa111d Merge branch '11th-hour' of github.com:anoek/ansible-tower into 11th-hour 2016-04-15 12:17:23 -04:00
Akita Noek 54a6cbdab5 Merge pull request #4 from wwitzel3/11th-hour
test fixes and read_role
2016-04-15 11:58:05 -04:00
Wayne Witzel III ff3be050fa test fixes and read_role 2016-04-15 11:56:08 -04:00
Akita Noek 47a6daacc7 Merge pull request #3 from wwitzel3/11th-hour
Role rename bonanza
2016-04-15 11:04:48 -04:00
Wayne Witzel III d508254742 updater_role -> update_role 2016-04-15 11:01:35 -04:00
Wayne Witzel III 7098ef8da5 usage_role -> use_role 2016-04-15 11:01:08 -04:00
Wayne Witzel III 5bca1283b2 executor_role -> execute_role 2016-04-15 11:00:33 -04:00
Akita Noek 859d670fc8 Removed RolePermission stuff for Hosts 2016-04-15 10:59:15 -04:00
Akita Noek c76976e466 Merge pull request #2 from wwitzel3/11th-hour
update access calls to new RBAC roles
2016-04-15 10:49:57 -04:00
Wayne Witzel III eae7349665 update access calls to new RBAC roles 2016-04-15 10:45:33 -04:00
Akita Noek 3b2c6747d3 Updated test_rbac_core.py test for RolePermission removal 2016-04-15 10:39:51 -04:00
Akita Noek 6d34ca9d22 Proof of concept hacks for RolePermission elimination 2016-04-15 10:03:50 -04:00
Akita Noek 872ce2f9e8 Merge branch 'ancestor-rebuild-optimization' into 11th-hour 2016-04-14 21:56:43 -04:00
Akita Noek 25f0d65c5f Ancestor rebuild optimization progress 2016-04-14 21:56:10 -04:00
Akita Noek 8887db231b Progress on ripping out RolePermissions 2016-04-14 09:44:20 -04:00
Jared Tabor d5f032acb8 updated org-add form controller with form obj 2016-04-13 17:54:38 -07:00
Michael Abashian d7f75ce130 Merge pull request #1524 from mabashian/jt-form-save-refactor
Refactor of job template formSave
2016-04-13 16:33:04 -04:00
Chris Meyers f0a761e889 Merge pull request #1517 from chrismeyersfsu/fix-scan_job_time
fix scan job timestamp
2016-04-13 15:49:13 -04:00
Michael Abashian 946cec2b7a Refactored formSave to remove old survey logic as well as remove unnecessary event emit. 2016-04-13 14:52:56 -04:00