[kforge-dev] Changeset [1015]: Work towards solution of ticket:7 (item 3), specifically automatic grant ...

10: Timeline admin at okfn.org
Fri Nov 3 14:15:02 UTC 2006


Work towards solution of [ticket:7][1] (item 3), specifically automatic grant of TRAC_ADMIN permission to project administrators when trac service is created. 

  * trunk/src/kforge/plugin/trac/command.py, trunk/src/kforge/plugin/trac/commandtest.py: add commands to create trac admins ([AddAdminUserCommand?][2], [DeleteAdminUserCommand?][3], [IsAdminUserCommand?][4]) along with associated tests 
  * trunk/src/kforge/plugin/trac/init.py: add to onTracProjectUpdate to automatically make all project adminstrators admins on the trac subsystem application. Also add code for onMemberUpdate and onMemberDelete to deal with situation where member's roles are changed but comment this code out as not yet under test 
  * trunk/src/kforge/plugin/tractest.py: tests were currently very paltry. Rework existing tests and renanme to [TestTracBasic?][5] and create new class [TestTracComplex?][6] to test full trac service creation. 

    [1]: http://project.knowledgeforge.net/kforge/trac/ticket/7 (No way to administrate a trac service in KForge (closed))
    [2]: http://project.knowledgeforge.net/kforge/trac/wiki/AddAdminUserCommand
    [3]: http://project.knowledgeforge.net/kforge/trac/wiki/DeleteAdminUserCommand
    [4]: http://project.knowledgeforge.net/kforge/trac/wiki/IsAdminUserCommand
    [5]: http://project.knowledgeforge.net/kforge/trac/wiki/TestTracBasic
    [6]: http://project.knowledgeforge.net/kforge/trac/wiki/TestTracComplex

URL: http://project.knowledgeforge.net/kforge/trac/changeset/1015




More information about the kforge-dev mailing list