[Zope-CMF] another quick one

Florent Guillaume fg@nuxeo.com
12 Aug 2001 18:52:35 GMT


CMFCore.PortalContent has:

    def _verifyActionPermissions(self, action):
        pp = action.get('permissions', ())
        if not pp:
            return 1
        sm = getSecurityManager()
        for p in pp:
            if _checkPermission(p, self):
                return 1
        return 0

Here we do nothing with sm... any intended effect ?


Thanks,

Florent Guillaume
Nuxeo