equal
deleted
inserted
replaced
402 return 1 |
402 return 1 |
403 |
403 |
404 @objectify_selector |
404 @objectify_selector |
405 @lltrace |
405 @lltrace |
406 def authenticated_user(cls, req, *args, **kwargs): |
406 def authenticated_user(cls, req, *args, **kwargs): |
407 """accept if user is anonymous""" |
407 """accept if user is authenticated""" |
408 if req.cnx.anonymous_connection: |
408 if req.cnx.anonymous_connection: |
409 return 0 |
409 return 0 |
410 return 1 |
410 return 1 |
411 |
411 |
412 def anonymous_user(): |
412 def anonymous_user(): |