Akita Noek
878455187f
Optimized viewable user list, fixed up some project readability bugs
2016-04-18 11:28:46 -04:00
Matthew Jones
ba7f48abf1
Updating tests around data preload
2016-04-18 11:27:39 -04:00
Akita Noek
8b67f1d1c6
Removed team<->org role cycle
2016-04-18 11:27:22 -04:00
AlanCoding
fb013ed7f1
org counts: un-skip tests, more thorough counting
2016-04-18 11:15:05 -04:00
Michael Abashian
94c4591a3e
Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable.
2016-04-18 11:09:12 -04:00
AlanCoding
333730f30e
make special case for no results slightly more clear
2016-04-18 10:51:27 -04:00
Ken Hoes
6d31136bfa
Demo feedback - breadcrumbs, capitalization, labels. Covers 1554 + 1555.
2016-04-18 10:00:06 -04:00
AlanCoding
500ebdbbd2
fix index error generating organization detail view context
2016-04-18 08:56:04 -04:00
kensible
4f2b245f71
Merge pull request #1470 from kensible/1045-systemTracking
...
1045 System Tracking restyle
2016-04-18 08:54:01 -04:00
Akita Noek
6d8bab97df
Only rebuild ancestor list on post_* events
2016-04-18 08:53:40 -04:00
Akita Noek
2a676d80ce
Handle vacuous role rebuilding condition instead of exploding
2016-04-18 08:45:44 -04:00
Akita Noek
85843cc6ad
Fixed up some RBAC indexing
2016-04-17 10:20:38 -04:00
Akita Noek
a9f2507e91
flake8
2016-04-16 18:54:45 -04:00
Akita Noek
7637b51992
Merge branch 'devel' of github.com:ansible/ansible-tower into 11th-hour
2016-04-16 18:35:25 -04:00
Akita Noek
74caa18cb5
Ditch some expensive prefetching for Hosts
...
This prefetching gets really expensive when we have a large number of
hosts, it's far less expensive to just go out and do subsequent queries
to pull this data in. (dropped aggregate query time down from ~2400ms to
~180ms)
2016-04-16 18:32:54 -04:00
Akita Noek
a7f9eedb21
Be more explicit with our user_admin_role selection to avoid potential future bugs
2016-04-16 18:32:34 -04:00
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
kensible
3b765e8dda
Merge pull request #1539 from kensible/1048-managementJobs
...
Management job modals restyled & shows correct modals.
2016-04-15 15:44:37 -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
Matthew Jones
d1801bdf9f
Demo data flake8 cleanup
2016-04-15 15:14:10 -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
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
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
Matthew Jones
8c4e4f4c0d
Creating pre-loaded demo data
...
* Bootstrap some initial data if there is no default org
* Renamed default org script appropriately
2016-04-15 14:42:51 -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