Akita Noek
6653a1e747
Validate that user provides a valid organization when posting a project
2016-03-24 11:03:42 -04:00
Wayne Witzel III
20aa8c02d1
Added accessible_by/objects support for Team
2016-03-24 10:45:49 -04:00
Akita Noek
eccb50a253
Fixed projects creation api endpoints to take organization
2016-03-24 10:22:25 -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
Akita Noek
201e4a9ca3
Mark some currently non-functional tests as skipped until they're implemented
...
re #1254
2016-03-23 15:34:20 -04:00
Akita Noek
b263f25911
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-23 15:30:37 -04:00
Akita Noek
4aa1602255
Deprecated Team.projects and Project.teams relations, switching to using RBAC
2016-03-23 15:30:03 -04:00
Wayne Witzel III
a5deb66878
deprecate Credential.team/user
2016-03-23 15:23:12 -04:00
AlanCoding
e7d36299be
redesign of organization counts for RBAC branch
2016-03-23 14:56:31 -04:00
Akita Noek
9dbe9fb7ad
Moved a couple of test cases from old/projects.py tests to new test_projects.py tests
2016-03-23 14:47:01 -04:00
Akita Noek
6d62fbc541
Add test for most recent rbac m2m binding fail
2016-03-21 21:09:58 -04:00
Akita Noek
5741b47c54
Merge remote-tracking branch 'ansible/devel' into merge-devel
2016-03-18 15:40:13 -04:00
Akita Noek
4fac1e96f4
Test that helps test the implemenation of role auto-reparenting
2016-03-18 15:11:13 -04:00
Wayne Witzel III
6d249f38a7
Fix credential assertions and rename migration helpers
2016-03-17 15:41:46 -04:00
Wayne Witzel III
b59e960b46
Credential migration and initial tests
2016-03-17 11:21:10 -04:00
Akita Noek
9909ea90c1
Fixed post delete behavior for roles, added test
2016-03-16 09:13:33 -04:00
AlanCoding
52cd4f5ef9
reduce test to only check project inventory connection
2016-03-15 15:06:00 -04:00
Akita Noek
e45982b011
Signal bindings to add permissions from hosts to groups/inventory
...
We should probably move this into a more generic system.. but for the
time being this works, we can refactor later if we have a similar need
elsewhere.
2016-03-15 14:47:36 -04:00
AlanCoding
da39f1269a
org counts code restructing to better prepare for RBAC merge
2016-03-15 14:36:56 -04:00
Wayne Witzel III
3f29f1e3b5
flake8 fixup
2016-03-15 10:09:24 -04:00
Akita Noek
ab23e983f8
More team/org users/admins -> member_role/admin_role updates
2016-03-14 17:00:59 -04:00
Akita Noek
495b5b9341
project test case fix, missing pytest marker
2016-03-14 16:28:57 -04:00
Akita Noek
6549a0225b
Various org.admins -> org.admin_role.members transformations
2016-03-14 16:28:24 -04:00
Akita Noek
9146b29770
Fix up some project multi-org -> single-org fallout
2016-03-14 15:31:05 -04:00
Akita Noek
820ed0b747
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-14 15:05:01 -04:00
Akita Noek
ba6752fb23
Eliminate multiple-organization projects
...
Projects are duplicated with this migration to provide a nearly
equivalent functionality.
Satisifies #1164
2016-03-14 14:57:24 -04:00
Wayne Witzel III
1f383f9873
Added back RBAC project migration tests
2016-03-14 13:14:57 -04:00
Wayne Witzel III
5b70f29a39
Fix migration tests to use new deprecated fields
2016-03-14 11:57:05 -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
765dcd3318
Added queries that calculate counts for organization resources
2016-03-12 22:02:03 -05:00
Wayne Witzel III
16673b1468
Fix the m2m_changed when accessed reversed
2016-03-11 15:59:01 -05:00
Wayne Witzel III
31a461956a
Fixed up m2m_changed for rbac, added User.admin_role
2016-03-11 14:59:47 -05:00
Wayne Witzel III
80013e67bc
Remove UserResource and ensure RolePermission during migration
2016-03-11 10:58:24 -05:00
Wayne Witzel III
94e8058127
Allow org.admin_role.members to administer org.member_role.members
2016-03-11 10:41:42 -05:00
Wayne Witzel III
55e071535b
Added user role creation, accessible methods, and fixed up m2m_update
2016-03-11 07:07:17 -05:00
Chris Meyers
cf1a78866c
flake8
2016-03-09 16:51:52 -05:00
Chris Meyers
4ff16548b6
drop mongo database when complete
2016-03-09 15:53:07 -05:00
Wayne Witzel III
09d46f9336
test fixups and re-add can_access
2016-03-09 15:33:12 -05:00
Chris Meyers
bc6eaeb0a9
migrate data from mongo to postgres
2016-03-09 15:25:57 -05:00
Akita Noek
9c78a85a70
Removed old test assertion
2016-03-09 12:03:20 -05:00
Akita Noek
b486c8d658
Merge branch 'rbac-resource-gfk' into rbac
2016-03-09 10:17:58 -05:00
Akita Noek
9aae2979d9
Replaced our 'Resource' table with a GenericForeignKey in RolePermission
2016-03-09 10:12:05 -05:00
Wayne Witzel III
3df4c4ec93
fixing tests and migration issues
2016-03-08 14:09:16 -05:00
Wayne Witzel III
39a1e893fb
Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac
2016-03-07 08:49:48 -05:00
Akita Noek
e9c3d98a44
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-04 14:02:01 -05:00
Chris Meyers
cfeae51254
deny endpoint access to system tracking feature based on license
2016-03-04 10:14:13 -05:00
Chris Meyers
09c5a189ed
remove forgotten print
2016-03-04 07:56:29 -05:00
Akita Noek
048e65eab3
Add test to help detect incorrect role rebuilding
2016-03-03 13:54:45 -05:00