1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00
Commit Graph

25 Commits

Author SHA1 Message Date
Michael DeHaan
0c9aa1a498 Testing to whether a user can attach/unattach is now deferred to the model. 2013-03-23 14:31:36 -04:00
Michael DeHaan
e405c9b746 Simplify some auth code, add a FIXME 2013-03-22 18:07:06 -04:00
Michael DeHaan
71cc409735 Clarify remaining org tests to add. 2013-03-22 14:58:55 -04:00
Michael DeHaan
580c6335bd Clarify purpose of test in comments. 2013-03-22 14:57:01 -04:00
Michael DeHaan
f0aabcca43 Add a test to show you cannot put to a subresource collection URL 2013-03-22 14:55:55 -04:00
Michael DeHaan
ed6096216f Example of how to disassociate an object from a collection, to be generalized later! 2013-03-22 14:48:18 -04:00
Michael DeHaan
d179c91537 Test code for posting an object to a subcollection, and accompanying view code. (In this case organizations/n/projects)
To be generalized later.
2013-03-22 14:23:50 -04:00
Michael DeHaan
5a03fdf841 Simplify user model by just using the Django user object. 2013-03-22 11:35:26 -04:00
Chris Church
ea536ae903 Minor test/view fixes. 2013-03-22 11:22:04 -04:00
Michael DeHaan
7f0935ba66 Handle post to corrections by overriding post to not save the object. Work in progress. 2013-03-22 09:50:42 -04:00
Michael DeHaan
2dbb77833e Implementation and testing of the organizations projects subresource. 2013-03-21 17:38:53 -04:00
Michael DeHaan
0fa9255ab1 Add support for related resources, and all present related resources on the organization object.
Implementation of sub services still on deck.
2013-03-21 15:11:47 -04:00
Michael DeHaan
f8e57ddd3b Deleted objects are not really deleted but now appear to be via REST. 2013-03-21 14:20:59 -04:00
Michael DeHaan
c189cfcddb Deletes are operational plus access control hooks for deletes. 2013-03-21 11:06:47 -04:00
Michael DeHaan
843164ba04 PUT is operational. 2013-03-21 10:44:01 -04:00
Michael DeHaan
9237cd6176 Streamlining RBAC layer code, adding tests for PUT operations. 2013-03-21 10:25:49 -04:00
Michael DeHaan
c7328703fa Added baseline for object GET tests, with one failing test to correct. 2013-03-21 00:27:04 -04:00
Michael DeHaan
b5fcf6b469 Test that if no users are in the org they get an empty list when listing orgs 2013-03-21 00:16:47 -04:00
Michael DeHaan
6422214b5e Get resource URLs installed in REST API returns. 2013-03-21 00:12:03 -04:00
Michael DeHaan
27c515f281 Basic API RBAC filtering operational! 2013-03-20 23:14:09 -04:00
Michael DeHaan
7722e414e2 Add functions for checking size of paginated results 2013-03-20 22:47:51 -04:00
Michael DeHaan
3bc3b1f767 Convert from tastypie tests to pure Django unit tests. 2013-03-20 22:21:17 -04:00
Michael DeHaan
d6aea8edcb Switch over to django-rest-framework from tastypie. Less black magic, seems to just work :) 2013-03-19 22:26:35 -04:00
Michael DeHaan
b95f4e0e13 Basic test structure in place, some authorization tests. 2013-03-19 18:33:01 -04:00
Michael DeHaan
14b0a1ed27 Rename acom to lib to avoid confusion with repo name. 2013-03-13 15:32:22 -04:00