Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Changes between Version 31 and Version 32 of IdentityManagement


Ignore:
Timestamp:
04/02/06 22:35:39 (13 years ago)
Author:
fredlin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IdentityManagement

    v31 v32  
    151151Of course, you can then pull your authorisation logic out into a function that you call rather than copying and pasting into each function that requires it. 
    152152 
    153 '''3''' Write your own decorator function. This is not for the faint at heart. But it gives you absolute flexibility. Take a look at the two decorators in turbogears/identity/conditions.py. They'll give you a head-start on what you'll have to do. 
     153'''3''' Write your own decorator function  
     154 
     155This is not for the faint at heart. But it gives you absolute flexibility.  
     156 
     157Take a look at the decorators in turbogears/identity/conditions.py. They'll give you a head-start on what you'll have to do. 
    154158 
    155159----