Edgewall Software

Changes between Version 3 and Version 4 of TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionRequestor


Ignore:
Timestamp:
Sep 11, 2013, 9:28:34 AM (6 years ago)
Author:
anonymous
Comment:

Example should return a list. Link to epydocs.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/PluginDevelopment/ExtensionPoints/trac.perm.IPermissionRequestor

    v3 v4  
    4444
    4545    def get_permission_actions(self):
    46         return ('COMPONENT_LIST', 'COMPONENT_VIEW')
     46        return ['COMPONENT_LIST', 'COMPONENT_VIEW']
    4747}}}
    4848
     
    159159
    160160== Additional Information and References ==
    161 
     161 * [http://www.edgewall.org/docs/trac-trunk/epydoc/trac.perm.IPermissionRequestor-class.html epydoc]
    162162 * [http://www.edgewall.org/docs/trac-trunk/html/api/trac_perm.html#trac.perm.IPermissionRequestor API Reference]
    163163 * Ticket about extending exsting meta-permissions: #8036