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
Michael DeHaan
09cca99c69
Just use plain GPL.
2013-04-09 01:05:55 -04:00
Michael DeHaan
184a68b0f9
License change. GPLv3 -> Affero GPLv3.
2013-04-01 17:44:30 -04:00
Michael DeHaan
f02aad42c0
User deletion modification, and overriding the URL for the user objects.
2013-03-24 14:14:59 -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
6a45aa2823
Added ability to list users under an organization, model additions to support. Simplified queryset lookup for various models.
2013-03-23 15:34:16 -04:00
Michael DeHaan
284c495c11
Added remaining sec tests for adding subobjects to collection.
2013-03-23 15:08:02 -04:00
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
bd3e4ba943
Use request.user.is_anonymous versus doing type check.
2013-03-22 11:37:15 -04:00
Michael DeHaan
5a03fdf841
Simplify user model by just using the Django user object.
2013-03-22 11:35:26 -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
9237cd6176
Streamlining RBAC layer code, adding tests for PUT operations.
2013-03-21 10:25:49 -04:00
Michael DeHaan
8cae93c55f
Move RBAC code to seperate file.
2013-03-21 00:34:59 -04:00