[Trac-tickets] [The Trac Project] #2223: trac-admin bypasses PermissionStore

The Trac Project noreply at edgewall.com
Thu Oct 13 19:33:16 CDT 2005


#2223: trac-admin bypasses PermissionStore
---------------------+------------------------------------------------------
 Reporter:  eblot    |       Owner:  jonas
     Type:  defect   |      Status:  new  
 Priority:  normal   |   Milestone:  0.9  
Component:  general  |     Version:  0.9b2
 Severity:  major    |   Keywords:           |  
---------------------+------------------------------------------------------
 `trac-admin` as per [2353] bypasses the new `PermissionStore` component to
 retrieve, add and revoke permissions. It therefore ignores any custom
 `PermissionStore` extension: Trac engine uses the extension, but `trac-
 admin` keeps dealing with the SQL backend.

 I attach a quite ugly patch to this ticket, as a workaround. I'm sure a
 better, more "Python" implementation can be written. This patch can be
 used to enable the [http://anciens.enib.fr/trac/public/wiki/TracLdap
 TracLdap] extension, till a cleaner/better implementation is written by
 Trac developers.

 I think the target should be [milestone:0.9 0.9], as this issue prevents
 from deploying a permission component.

-- 
Ticket URL: <http://projects.edgewall.com/trac/ticket/2223>
The Trac Project <http://trac.edgewall.com/>


More information about the Trac-Tickets mailing list