Changes between Version 1 and Version 2 of GenericAuthorization


Ignore:
Timestamp:
05/28/06 13:42:41 (9 years ago)
Author:
jkocherhans
Comment:

more implementation notes

Legend:

Unmodified
Added
Removed
Modified
  • GenericAuthorization

    v1 v2  
    2222
    2323== Usage ==
     24
    2425=== Checking a permission ===
    2526
     
    5455{{{has_permission}}} will be implemented as a class with a {{{register}}} method and a {{{__call__(self, user, permission, object)}}} method.
    5556
    56 This method is similar to Philip J. Eby's [RuleDispatch http://peak.telecommunity.com/PyCon05Talk/] and Guido van Rossum's recent work on generic/overloaded functions. See references for examples.
     57This method is similar to Philip J. Eby's [RuleDispatch http://peak.telecommunity.com/PyCon05Talk/] and Guido van Rossum's recent work on generic/overloaded functions. See references for examples. The plan is to start out with a really naive and simple implementation, if it works and performs reasonably it should probably be left simple.
     58
    5759
    5860== Roadmap ==
Back to Top