Package trac :: Module perm :: Class IPermissionRequestor

Class IPermissionRequestor

source code

    object --+    
             |    
core.Interface --+
                 |
                IPermissionRequestor

Extension point interface for components that define actions.
Instance Methods
 
get_permission_actions()
Return a list of actions defined by this component.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

get_permission_actions()

source code 

Return a list of actions defined by this component.

The items in the list may either be simple strings, or (string, sequence) tuples. The latter are considered to be "meta permissions" that group several simple actions under one name for convenience, adding to it if another component already defined that name.