Chris Meyers
d69b9fad8f
fix rbac label assignment across orgs
...
* Org admins should not be able to attach labels to orgs for which they
are not also org admins for.
2016-04-05 16:03:46 -04:00
Chris Meyers
2f4e8cd163
Merge pull request #1396 from chrismeyersfsu/labels-rbac
...
Labels rbac
2016-04-05 08:53:49 -04:00
Chris Meyers
fa6f5329cf
labels + rbac + tests
2016-04-04 17:20:58 -04:00
Akita Noek
da8cd505cf
Updated and ported select inventory credential tests to new test system
...
Also added all the test cases I wrote for the credential api but forgot
to add before the last checking..
2016-04-04 11:05:34 -04:00
Akita Noek
23aca083eb
Added and updated several credential creation and listing API endpoints
...
Should addres #1379
2016-04-01 16:57:08 -04:00
Chris Meyers
ff5935ccfd
Merge branch 'test-labels' into devel
2016-04-01 13:36:41 -04:00
Chris Meyers
a01b2913bb
mockity mock mock
2016-04-01 13:34:06 -04:00
Wayne Witzel III
ed17be242d
more unicode fixes
2016-03-31 14:20:16 -04:00
Akita Noek
219c09728d
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-31 11:32:02 -04:00
Wayne Witzel III
097bd805fa
make migrations unicode safe, fixes #1345
2016-03-30 16:40:43 -04:00
Wayne Witzel III
82b72f99ca
add rbac migration logging and reduce memory consumption
2016-03-29 17:16:26 -04:00
Akita Noek
3b233f828e
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-28 09:23:53 -04:00
AlanCoding
18d2a30ff4
skip test for current devel branch, planned for RBAC
2016-03-28 09:23:33 -04:00
Chris Meyers
4ff73b2630
Merge pull request #1305 from chrismeyersfsu/feature-labels
...
job template labels init implementation
2016-03-28 09:01:12 -04:00
Akita Noek
c60dd9207b
Merge branch 'devel' of github.com:ansible/ansible-tower into rbac
2016-03-24 16:12:02 -04:00
Chris Meyers
d2de21ee50
job template labels init implementation
2016-03-24 15:26:14 -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
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
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