Logo Search packages:      
Sourcecode: zope-cmfdynamicviewfti version File versions  Download package

def CMFDynamicViewFTI::browserdefault::BrowserDefaultMixin::canSetLayout (   self  ) 

Check if the current authenticated user is permitted to select a layout.

Definition at line 216 of file browserdefault.py.

00216                           :
        """Check if the current authenticated user is permitted to select a layout.
        """
        mtool = getToolByName(self, 'portal_membership')
        member = mtool.getAuthenticatedMember()
        return member.has_permission(ModifyViewTemplate, self)

    security.declareProtected(View, 'getAvailableLayouts')
    def getAvailableLayouts(self):


Generated by  Doxygen 1.6.0   Back to index