Package trac :: Module attachment :: Class LegacyAttachmentPolicy

Class LegacyAttachmentPolicy

source code

    object --+    
             |    
core.Component --+
                 |
                LegacyAttachmentPolicy

Default permission policy for the attachment system.

Authenticated users can delete attachments they added.

Nested Classes

Inherited from core.Component: __metaclass__

Instance Methods
 
check_permission(self, action, username, resource, perm) source code

Inherited from core.Component: __repr__

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

Static Methods

Inherited from core.Component: implements

Class Variables
  realm = 'attachment'
Properties
  delegates
List of components that implement ~trac.attachment.ILegacyAttachmentPolicyDelegate

Inherited from object: __class__

Property Details

delegates

List of components that implement ~trac.attachment.ILegacyAttachmentPolicyDelegate
Get Method:
unreachable.extensions(component) - Return a list of components that declare to implement the extension point interface.