6627 Commits

Author SHA1 Message Date
Akita Noek
453772f62c Fixed up credential viewability expectations in jobs_monlithic tests
Super users can now see all credentials always.. Adjusted test to test
for this, as well as original test intent which was to test to ensure
after removing a team which has access to a credential, members of that
team no longer have access to the credential.
2016-03-24 21:16:15 -04:00
Akita Noek
c89a549cbd Removed deprecated user/team from select_related CredentialAccess queryset 2016-03-24 20:31:01 -04:00
Akita Noek
c900c9126c missing .add 2016-03-24 18:34:24 -04:00
Akita Noek
c9ab92bd84 Merge pull request #1 from AlanCoding/org_detail_rbac_update
Update organization detail view counts for RBAC
2016-03-24 16:43:14 -04:00
AlanCoding
f8656b38e7 implemented RBAC version of org detail counts, test passes 2016-03-24 16:38:45 -04:00
Akita Noek
c60dd9207b Merge branch 'devel' of github.com:ansible/ansible-tower into rbac 2016-03-24 16:12:02 -04:00
Akita Noek
66dc4938a6 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-24 16:08:32 -04:00
Wayne Witzel III
8780e0d656 Merge pull request #1307 from wwitzel3/rbac
Fix old/inventory tests for Credential
2016-03-24 16:08:08 -04:00
Akita Noek
b78221a306 Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-24 16:07:55 -04:00
Akita Noek
64e080ba53 Merge pull request #1301 from AlanCoding/647_org_detail_counts
Add organization counts in detail view
2016-03-24 16:07:04 -04:00
Wayne Witzel III
08e9c46c41 Fix old/inventory tests for Credential 2016-03-24 16:05:31 -04:00
Akita Noek
f9a1e37371 projects.py test fixes 2016-03-24 16:04:22 -04:00
Akita Noek
1dea6610a7 Fixed up tasks.py for credential changes 2016-03-24 15:35:37 -04:00
Wayne Witzel III
ad9bfe9bda Merge pull request #1304 from anoek/rbac
Next batch of minor fixes on RBAC
2016-03-24 15:32:09 -04:00
Akita Noek
434320f5a2 Credential user fix for schedules.py 2016-03-24 15:26:14 -04:00
Akita Noek
e323f5a48b Merge branch 'merge-devel' into rbac 2016-03-24 15:23:23 -04:00
Akita Noek
625d94c81f typo 2016-03-24 15:23:10 -04:00
Akita Noek
b932174ee2 Fixed up migrations after merge 2016-03-24 13:58:05 -04:00
Akita Noek
d07da55eac fix merge fail 2016-03-24 13:54:03 -04:00
Akita Noek
5baa784ce2 Merge branch 'devel' of github.com:ansible/ansible-tower into merge-devel 2016-03-24 13:51:00 -04:00
Akita Noek
683f9cacbb Merge branch 'rbac' of github.com:ansible/ansible-tower into rbac 2016-03-24 13:34:31 -04:00
Akita Noek
9baaa83302 Add explicit transaction=True to some tests for jenkins test environment 2016-03-24 13:33:51 -04:00
Akita Noek
f0740794c5 Better implementation of RoleUsersList queryset 2016-03-24 13:30:47 -04:00
Wayne Witzel III
f9770e2398 Merge pull request #1299 from wwitzel3/rbac
deprecate Credential.team/user
2016-03-24 13:29:24 -04:00
Akita Noek
bbef9b896f Removed RoleAccess queryset capabilities; add explicit can_read implemenation
We can probably make this into a query set if we're ever interested, but
so far we just use can_read so better to have an explicit implemenation
2016-03-24 13:27:57 -04:00
Akita Noek
2a446d206e Fix for RoleAccess queryset 2016-03-24 13:05:16 -04:00
Wayne Witzel III
c4c2d08042 Fixup API and old tests for credential access 2016-03-24 11:50:27 -04:00
Akita Noek
1a96d9705f Merge pull request #1294 from anoek/rbac
Various updates for tests on RBAC branch
2016-03-24 11:13:22 -04:00
Akita Noek
922da6ed7a whitespace 2016-03-24 11:06:03 -04:00
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
Akita Noek
342747866e flake8 2016-03-24 08:59:12 -04:00
Akita Noek
50a2fac465 Fixed some deprecated Team.projects fallout 2016-03-23 22:53:53 -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
Alan Rominger
dd977c608b Merge pull request #1279 from AlanCoding/822_keystone_v3_OS_cred
Add OpenStack V3 credential type
2016-03-23 16:45:42 -04:00
Akita Noek
d838753e60 Fixed up tests from deprecation of Team.projects 2016-03-23 16:25:23 -04:00
Akita Noek
90424eb4b0 Removed pirate debugging statement 2016-03-23 16:24:50 -04:00
Wayne Witzel III
9d5d3b4131 Rename instead of Add/Remove 2016-03-23 15:47:24 -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
de114336ef Merge branch 'rbac' of github.com:anoek/ansible-tower into rbac 2016-03-23 15:30:33 -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
Akita Noek
8db915794d Merge pull request #1298 from AlanCoding/1254_org_counts_update
Update organization counts for RBAC branch
2016-03-23 15:15:17 -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
9574c3b506 whitespace 2016-03-23 13:36:28 -04:00
Akita Noek
8afa10466f Fix ad_hoc.py tests again
Credential fix
2016-03-23 12:09:04 -04:00