Akita Noek
c7f2568c10
Fixed up some credential migration issues
2016-05-02 14:44:15 -04:00
Akita Noek
83e83a5db3
Actually do job template migrations
...
Seems important
2016-05-02 11:16:15 -04:00
Akita Noek
58e9c4ef87
Fixed JT migration issue
...
Role.__contains__ is not defined here, so we needed to drop in the
implementation instead.
2016-05-02 11:14:31 -04:00
Akita Noek
8a5e22cb4a
Fix old_access user/team reference
2016-05-02 10:14:29 -04:00
Akita Noek
1bf4fdbff1
Fixed up the _old_access.py UserAccess queryset
2016-04-29 16:57:51 -04:00
Akita Noek
ac1503e55c
Fixed org migrations.. users are 'members' not 'auditors'
2016-04-28 11:50:36 -04:00
Akita Noek
27a7cf0d88
Added an explicit save everything step in the rbac migration
...
This step ensures all of our roles get setup before we start the
migration. It also speeds things up a little as we can wrap everything
with a `with batch_role_ancestor_rebuilding()`. We were pretty much
doing this already, but we had an issue where we didn't catch all job
templates all the time, so this just makes it very explicit and ensures
everything is setup, and does so a little faster.
2016-04-28 10:37:15 -04:00
Akita Noek
c9501ad556
commented out code cleanup
2016-04-28 09:39:18 -04:00
Akita Noek
af4daec314
More RBAC migration fixes
2016-04-27 16:59:33 -04:00
Akita Noek
b670681f6c
Handle JT "create" permissions during migration
2016-04-27 15:28:17 -04:00
Akita Noek
9df157c971
Added gfk index pair for Role for our access_list queries
2016-04-25 14:29:05 -04:00
Chris Meyers
16744e6b78
added missed job template label relationship
2016-04-25 09:46:54 -04:00
Chris Meyers
47b3222614
Merge pull request #1659 from chrismeyersfsu/fix-labels_unified
...
labels on unified jobs
2016-04-23 07:44:34 -04:00
Chris Meyers
396848e97a
labels on unified jobs
2016-04-22 12:32:30 -04:00
Akita Noek
0c6dcb2337
Optimized our simultaneous role ancestry rebuilding method
2016-04-22 10:17:21 -04:00
Akita Noek
ee97ef2fc8
Fix 0008 field addition orderings
2016-04-22 10:17:21 -04:00
Akita Noek
280993a15d
Dropped stored role name/description and other superflous fields
...
For name and description, we'll derive these from the role_field and
content type, which is much better for lots of reasons (eg changing text
the future). Also ditched the rest of the fields comming from the
standard common base model, we didn't use them and they cost several
indexes on the table.
2016-04-22 10:16:04 -04:00
Akita Noek
aae548fbdc
Regenerated 0008 migration to get rid of Implicit role names/descriptions
2016-04-22 10:16:04 -04:00
Wayne Witzel III
b045a94767
fixing broken JT migration
2016-04-22 10:06:28 -04:00
Matthew Jones
fe360ca8e3
Updates to network credentials
...
Separating out the network credential used fields
2016-04-21 16:43:55 -04:00
Wayne Witzel III
efebb3701b
Merge pull request #1639 from wwitzel3/bug-1428
...
Add parent ORing for Role field, renamed permissions -> active_roles
2016-04-21 16:27:56 -04:00
Wayne Witzel III
8574a3080f
update tests and adjust rbac migration
2016-04-21 16:03:49 -04:00
Matthew Jones
da7a61354a
Merge pull request #1635 from matburt/new_azure_inventory_and_credentials
...
Implement Azure RM creds and inventory
2016-04-21 14:38:13 -04:00
Matthew Jones
296f70ce17
Implement Azure RM creds and inventory
...
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
Alan Rominger
09bc235054
Merge pull request #1612 from AlanCoding/1564_mongo_tiny_pieces
...
No mongo connection error in fresh install, no timeout in containers
2016-04-20 12:05:35 -04:00
AlanCoding
ca682fb362
remove connection error in fresh install, mongo setting in dev environment
2016-04-20 10:15:06 -04:00
Wayne Witzel III
320d6377d0
add Red Hat for CloudForms and Satellite 6
2016-04-19 18:03:58 -04:00
Akita Noek
c3144dc4d3
benign 0008 migration change to make makemigrations happy
2016-04-18 16:26:11 -04:00
Akita Noek
07eccbe3e4
Migration for dropping implicit host inventory,name ordering
2016-04-18 16:22:14 -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
Akita Noek
878455187f
Optimized viewable user list, fixed up some project readability bugs
2016-04-18 11:28:46 -04:00
Akita Noek
8b67f1d1c6
Removed team<->org role cycle
2016-04-18 11:27:22 -04:00
Akita Noek
85843cc6ad
Fixed up some RBAC indexing
2016-04-17 10:20:38 -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
2c45f79298
Migration updates for RolePermission removal
2016-04-16 08:47:51 -04:00
Akita Noek
c440aefd85
fix jt tests
2016-04-15 16:08:14 -04:00
Wayne Witzel III
d9538b200a
fix User.accessible_objects
2016-04-15 14:57:01 -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
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
f471f9b072
change migration to allow blank inventory field
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
cc84ed51d6
Add ability to prompt for several variable types on launch
2016-04-12 17:09:24 -04:00
Akita Noek
1d27ddc7d2
Fix bad migration from #1496
2016-04-12 16:50:54 -04:00
Akita Noek
ad89491a07
Fixed bad merge
2016-04-12 16:31:11 -04:00
Akita Noek
ea3a7ef227
Merge branch 'devel' of github.com:ansible/ansible-tower into migration
2016-04-12 16:30:09 -04:00
Wayne Witzel III
6bc765d1b5
Merge pull request #1507 from wwitzel3/rbac-bug-1422
...
RBAC Job Fixes
2016-04-12 16:22:47 -04:00
Akita Noek
29c7ecf6a8
Merge branch 'devel' into migration
2016-04-12 15:12:43 -04:00