[CMF-checkins] CVS: CMF - PortalContent.py:1.14
Jens Vagelpohl
jens@digicool.com
Fri, 25 May 2001 16:54:26 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv22928
Modified Files:
PortalContent.py
Log Message:
Small fix in _getDefaultView: a method was called with a wrong name
--- Updated File PortalContent.py in package CMF --
--- PortalContent.py 2001/05/25 17:40:30 1.13
+++ PortalContent.py 2001/05/25 20:54:26 1.14
@@ -194,7 +194,7 @@
# "view" action is not present or not allowed.
# Find something that's allowed.
for action in actions:
- if self._verifyPermissions(action):
+ if self._verifyActionPermissions(action):
return self.restrictedTraverse(action['action'])
raise Unauthorized, ('No accessible views available for %s' %
string.join(self.getPhysicalPath(), '/'))