Implement the IPermissionRequestor interface, i.e.
def get_permission_actions(self):
return ['REPORT_MANAGER']
See the use of get_permission_actions in Trac for details.
I would STRONGLY recommend you do NOT use TRAC_* permissions in your
own plugin: define your own plugin permissions, leaving TRAC_ prefix
for Trac project.
--
Manu
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---