On Nov 15, 12:56 pm, Christian Boos <[EMAIL PROTECTED]> wrote:
>
> So what about something like that:
>
> class ILegacyAttachmentPolicyDelegate(Interface):
>
>     def check_attachment_permission(action, username, resource, perm):
>         """Return the usual True/False/None security policy decision
> appropriate for
>             the requested action.
>
> -- Christian

Beauty. That will do nicely. +1


:::simon

https://www.coderesort.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to