Code

Changes between Version 2 and Version 3 of GenericAuthorization


Ignore:
Timestamp:
05/28/06 11:49:58 (8 years ago)
Author:
jkocherhans
Comment:

fixed some link formatting

Legend:

Unmodified
Added
Removed
Modified
  • GenericAuthorization

    v2 v3  
    5555{{{has_permission}}} will be implemented as a class with a {{{register}}} method and a {{{__call__(self, user, permission, object)}}} method. 
    5656 
    57 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. 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. 
     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 wiki:GenericAuthorization#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. 
    5858 
    5959