Re: [Twisted-Python] Cred question

2010-08-05 Thread Sury Soni
> i guess he wants admin to 1) impersonate another user, akin to su -u > anotheruser and 2) also to drop that user's session. > For 1) you'd have to set the avatar to the user's id (or at application level > implement something like effective uid). For 2) you'd have to iterate over all > active ses

Re: [Twisted-Python] Cred question

2010-08-05 Thread Konrads Smelkovs
i guess he wants admin to 1) impersonate another user, akin to su -u anotheruser and 2) also to drop that user's session. For 1) you'd have to set the avatar to the user's id (or at application level implement something like effective uid). For 2) you'd have to iterate over all active sessions and

Re: [Twisted-Python] Cred question

2010-08-05 Thread exarkun
On 4 Aug, 02:20 am, ss...@nextdigital.com wrote: >Hi, > >I am using Cred authentication system in my Nevow based web >application. > >Admin user can see list of all users from admin interface of the >application. > >Now, admin user wants to do following things: > >1. Automatically login as