I've managed to get this working by modifying the check_permission
function of the PublicWikiPolicy plugin (public_wiki_policy.py) :

http://pastebin.com/f25f73659

Notes:
* An attachment's realm is 'attachment'
* An attachment's parent is the wiki page it belongs to
* the action when viewing an attachment is 'ATTACHMENT_VIEW'
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to