On Wednesday, October 10, 2012 1:23:07 PM UTC-7, Casey Flinspach wrote:
So I've tried working with FineGrainedPermissions and the PrivateTickets plugin but I can't seem to get the results I need... Is it possible to have one Trac project where customers from different locations can login and create tickets and others from there company can see them? I.E. McDonald creates a ticket and all the McDonald's employees can see it and everything, but the Burger King workers can not. I'd like to create groups for the customers and then filter they're results.
Yes, it is possible to accomplish the example you mention using only PrivateTicketsPlugin. Just give the TICKET_VIEW_GROUP, or whatever specific fine-grained ticket viewing permission you want the "limited" group to have, as described in (1). Grant TICKET_VIEW to both the "limited" and "full" groups.
Note, this will slowdown your page load times, as described in (2). I'm seeing about 8 seconds to load a ticket on Trac 0.12.3, and the page load time seems to be a function of the number of users and groups that you have (I have only 30-40). There was some work to cache the permissions that went into Trac 1.0 that may improve on this.