This looks about right to me. I've recently had to remove session
information for somebody as well. Thanks for publishing your solution
:)
-- Sarah
On 2/21/07, Jason Winnebeck <[EMAIL PROTECTED]> wrote:
>
> I manage users/groups externally to Trac since we have multiple Trac
> projects and I want to maintain all at the same time. The following is a
> bash function that I use to remove developers, which is part of a larger
> script:
>
> function removeDev {
> proj=$1
> echo "Removing $dev entirely from $proj"
> trac-admin $proj permission remove $dev \*
> sqlite3 $proj/db/trac.db "delete from session where sid='$dev'"
> sqlite3 $proj/db/trac.db "delete from session_attribute where
> sid='$dev'"
> }
>
> I think this might work in all circumstance but I'm not sure since I
> completely maintain the session and session_attribute tables to control
> precisely the developer dropdown box -- I don't let users be "created"
> automatically I have to add them ahead of time.
>
> Jason
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
> On Behalf Of Josh
> Sent: Tuesday, February 20, 2007 3:10 PM
> To: Trac Users
> Cc: [EMAIL PROTECTED]
> Subject: [Trac] removing users from trac
>
>
> My company recently let some people go. And we would like to remove
> them from trac so that they cannot have anymore tracs assigned to
> them. Is there an was to do this? I have looked all over and hadn't
> had must success in finding instructions.
>
> Josh Feldman
>
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
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/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---