Code

Changes between Version 9 and Version 10 of GenericAuthorization


Ignore:
Timestamp:
08/14/06 21:32:35 (8 years ago)
Author:
jkocherhans
Comment:

status update

Legend:

Unmodified
Added
Removed
Modified
  • GenericAuthorization

    v9 v10  
    55== Current Status == 
    66 
    7 {{{has_permission}}} has been implemented, and a set of tests for model-level permissions are complete. Unfortunately, subversion is all wacky and won't let me merge changes from the trunk. I don't have time to fight with it, so I'm just doing this as a [http://code.djangoproject.org/attachment/wiki/GenericAuthorization/generic-auth.diff patch] against the trunk for now. The tests pass, but I haven't tested the admin system integration yet. Also, the registration api is subject to change and there's probably some debug code that needs to be ripped out. Consider yourself warned ;) 
     7''The current auth context processor isn't going to work as-is. has_permission should take the object you're working with as an argument, but there's no way to get it without changing the way context processors work. I think some sort of template tag ought to replace the auth context processor, but I'm not sure what it should look like yet. Chris Long (the per-object-permissions author) has a proposal [http://groups.google.com/group/django-developers/browse_thread/thread/d380813d611f5ccb/8d7259f1c8f7b0e0#8d7259f1c8f7b0e0 here] 
     8 
     9{{{has_permission}}} has been implemented, and a set of tests for model-level permissions are complete. Unfortunately, subversion is all wacky and won't let me merge changes from the trunk. I don't have time to fight with it, so I'm just doing this as a [http://code.djangoproject.org/attachment/wiki/GenericAuthorization/generic-auth.diff patch] against the trunk for now. The tests pass, and I have tested the admin system integration. There's probably some debug code that still needs to be ripped out. Consider yourself warned ;) 
    810 
    911'''[http://code.djangoproject.org/attachment/wiki/GenericAuthorization/generic-auth.diff View Current Patch]'''