Chris Church
2a15d07221
Split out RBAC and can_user_* methods from models into access.py. Moved list/item permissions checks from the base views into RBAC. Added serializers/views/tests for jobs REST API.
2013-05-08 10:46:16 -04:00
Chris Church
ef92fe3960
Updates to permissions checks (and tests), add logging around permission checks, permission-related fixes to support browsable API, work in progress on job templates API, added default logging settings.
2013-05-01 14:10:42 -04:00
Chris Church
edbd9c42ff
Admin updates, added a few more related resources.
2013-04-29 16:02:21 -04:00
Chris Church
69a9916423
Refactored URLs to be more DRY, changed reverse lookups to use named url patterns.
2013-04-27 23:19:28 -04:00
Michael DeHaan
b2c4ca6ece
Complete tests and permission API REST exposure. Note permission objects are found through user and teams, not a permissions
...
collection.
2013-04-26 18:12:12 -04:00
Michael DeHaan
b4932ab5a9
Partial support for permission editablity through REST. More TBA.
2013-04-26 17:32:19 -04:00
Michael DeHaan
f18f3a339c
Add discoverability on /api/v1 to show available top level resources.
2013-04-25 20:33:37 -04:00
Michael DeHaan
2a013a5cfe
Add API version info to api root, add dependency to setup playbook
2013-04-25 13:08:39 -04:00
Michael DeHaan
5c7cab70b7
Stubs for API head points. To add reverse URLs next.
2013-04-25 12:55:25 -04:00
Michael DeHaan
a45a5c2594
Ability to list teams attached to a project.
2013-04-23 11:26:50 -04:00
Michael DeHaan
0ed275c3c8
Pass request data to various functions to allow for extra validation to be implemented on top of what is there now.
2013-04-19 12:10:30 -04:00
Michael DeHaan
7d224d8cf3
Ability to list job templates. Related resources are not added.
2013-04-18 20:52:54 -04:00
Michael DeHaan
d11405d089
Stub views for all things job and event related.
2013-04-18 15:22:45 -04:00
Michael DeHaan
296c6e8cd4
Fix filter field setting for user classes, where field is named 'username', not 'name'
2013-04-17 21:36:12 -04:00
Michael DeHaan
5336316f2e
Resolve merge conflicts.
2013-04-17 20:35:01 -04:00
Michael DeHaan
5e6ad5a244
Added /api/v1/groups/N/hosts and /api/v1/groups/N/all_hosts/
2013-04-16 17:41:20 -04:00
Chris Church
9dbbf330e8
Added support for token authentication (with test).
2013-04-10 00:41:51 -04:00
Michael DeHaan
09cca99c69
Just use plain GPL.
2013-04-09 01:05:55 -04:00
Michael DeHaan
c52f51162a
Work on team credentials.
2013-04-04 15:52:00 -04:00
Michael DeHaan
0a306ee0ad
Team credentials listing.
2013-04-04 14:41:31 -04:00
Michael DeHaan
2c2c26860f
Wiring up team credentials service (WIP).
2013-04-04 12:38:41 -04:00
Michael DeHaan
b20a29b458
Working on surfacing credentials via REST.
2013-04-02 15:00:16 -04:00
Michael DeHaan
0489762a02
Working on credentials endpoints, added migration (no credentials directly on projects)
2013-04-01 20:38:03 -04:00
Michael DeHaan
791003995c
List the projects that a user can see.
2013-04-01 19:43:14 -04:00
Michael DeHaan
6bf4c1604f
Adding and removing users from a team.
2013-04-01 18:19:37 -04:00
Michael DeHaan
5deaa5c2fa
Ability to list teams on an organization.
2013-04-01 17:44:30 -04:00
Michael DeHaan
184a68b0f9
License change. GPLv3 -> Affero GPLv3.
2013-04-01 17:44:30 -04:00
Michael DeHaan
941d605806
Ability to list teams and get individual team records.
2013-03-31 22:18:39 -04:00
Michael DeHaan
987abb1663
Super users can list what projects an organization is assigned to.
2013-03-31 22:04:52 -04:00
Michael DeHaan
33ab8ff1ab
Start of projects (+teams/credentials/permissions) tests.
2013-03-31 20:03:14 -04:00
Michael DeHaan
b8ee694d82
Ability to remove hosts and inventory from groups.
2013-03-27 18:54:30 -04:00
Michael DeHaan
6e15d7a913
Ability to add child groups to groups.
2013-03-27 18:17:21 -04:00
Michael DeHaan
ce7112e08a
Update variable schema to use a 1:1 resource, and allow access via GET/PUT. GET if object does not exist will create the resource.
2013-03-26 22:24:03 -04:00
Michael DeHaan
c2bffe47d4
Fixup attach logic for inventory hosts/groups on subcollections. Pass serializer errors through on conflict scenarios.
2013-03-26 19:21:18 -04:00
Michael DeHaan
4aed4f6405
Add more 'auto-associate by posting new object' end points.
2013-03-26 18:26:40 -04:00
Michael DeHaan
fa54f7ad66
This allows for creation of subresources when posting new objects to a subcollection.
2013-03-26 18:18:05 -04:00
Michael DeHaan
3625039d47
Start of group support.
2013-03-26 16:57:08 -04:00
Michael DeHaan
5e91e0a43c
Working on Hosts and Groups
2013-03-26 14:44:12 -04:00
Michael DeHaan
dbfd764acd
Improve the can_user_add model hook to allow it to pre-examine data for context.
2013-03-25 19:00:07 -04:00
Michael DeHaan
be1bd56ca2
Explain the RBAC model around inventory usage and adapt a view to match.
2013-03-25 17:36:51 -04:00
Michael DeHaan
77695bd959
Working on surfacing inventory objects.
2013-03-25 16:41:21 -04:00
Michael DeHaan
18eaec143c
Add related resources from a user object, as a rapid way to list what organizations or projects they belong to.
2013-03-24 15:00:01 -04:00
Michael DeHaan
fa157a3368
Add a /api/v1/me URL, which is a quick way to find your user record.
2013-03-24 14:23:37 -04:00
Michael DeHaan
129380e119
A post hook that allows user creation with passwords being set appropriately, and associated tests.
2013-03-24 13:31:46 -04:00
Michael DeHaan
aa2915a151
Create a mechanism for filtering put details, and now users can change their own passwords but not rename themselves, etc.
2013-03-24 12:36:42 -04:00
Michael DeHaan
a071ff65e4
Add copyright headers.
2013-03-23 18:43:11 -04:00
Michael DeHaan
519b5ab77c
Add part of list to show audit trail by organization, still need to hook create to auto-establish the audit trail records.
2013-03-23 17:07:24 -04:00
Michael DeHaan
1213f2a981
Test that you can't post to an audit trail collection (ever), and a switch to control postability to sub lists.
2013-03-23 16:50:25 -04:00
Michael DeHaan
cd214bc95d
Ability to add tags to an organization.
2013-03-23 16:34:52 -04:00
Michael DeHaan
b68ab024ec
Listing tags attached to an organization, and basic model/view things around tag details
2013-03-23 16:03:17 -04:00