Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
plone.app.portlets.checker.DefaultPortletPermissionChecker Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 context

Detailed Description

Definition at line 12 of file checker.py.


Constructor & Destructor Documentation

Definition at line 16 of file checker.py.

00016 
00017     def __init__(self, context):
00018         self.context = context
    

Here is the caller graph for this function:


Member Function Documentation

Definition at line 19 of file checker.py.

00019 
00020     def __call__(self):
00021         sm = getSecurityManager()
00022         context = aq_inner(self.context)
00023 
00024         # If the user has the global Manage Portlets permission, let them
00025         # run wild
00026         if not sm.checkPermission("Portlets: Manage portlets", context):
00027             raise Unauthorized("You are not allowed to manage portlets")
            

Here is the caller graph for this function:


Member Data Documentation

Definition at line 17 of file checker.py.


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