The credentials dict argument of the predicates.not_anonymous() method 
contains just 3 keys, namely 'repoze.what.userid', 'groups', and 
'permissions'.  

Adding extra identity['test_myauthenticator_flag'] in the authenticate() 
method did not pass through to predicates.  Adding an mdprovider 
(add_metadata()) to add extra keys to identity did not pass through either.


On Monday, November 12, 2012 4:16:10 PM UTC-8, Alessandro Molina wrote:
>
> Inside the request.identity you should have the identifier and 
> authenticator used to recognize the user, then it should be possible to 
> take action based on that one.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/turbogears/-/BN5o6UVXEloJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to