Changes between Version 2 and Version 3 of GenericAuthorization
- Timestamp:
- May 28, 2006, 1:49:58 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GenericAuthorization
v2 v3 55 55 {{{has_permission}}} will be implemented as a class with a {{{register}}} method and a {{{__call__(self, user, permission, object)}}} method. 56 56 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.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 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. 58 58 59 59