ComponentPermissionsPlugin for Trac provides permissions based on ticket components.