Back to index

plone3  3.1.7
Public Member Functions Class Reference
Inheritance diagram for
Inheritance graph
Collaboration diagram for
Collaboration graph

List of all members.

Public Member Functions

def show_rules_tab

Detailed Description

Definition at line 8 of file

Member Function Documentation

Whether or not the rules tab should be shown

Definition at line 10 of file

00011     def show_rules_tab(self):
00012         """Whether or not the rules tab should be shown
00013         """
00015         if not IRuleAssignable.providedBy(self.context):
00016             return False
00018         if not getSecurityManager().checkPermission('Content rules: Manage rules', self.context):
00019             return False
00021         storage = queryUtility(IRuleStorage)
00022         if storage is None:
00023             return False

Here is the call graph for this function:

The documentation for this class was generated from the following file: