logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: Products/CMFDefault - URLTool.py:1.9: msg#00035

Subject: CVS: Products/CMFDefault - URLTool.py:1.9
Update of /cvs-repository/Products/CMFDefault
In directory cvs.zope.org:/tmp/cvs-serv21562/CMFDefault

Modified Files:
        URLTool.py 
Log Message:


- Gave URL tool explicit __roles__, to enable use in 'nocall:'
  expressions.



=== Products/CMFDefault/URLTool.py 1.8 => 1.9 ===
 from utils import _dtmldir
 
+import pdb; pdb.set_trace()
 
 class URLTool (UniqueObject, SimpleItem, ActionProviderBase):
     id = 'portal_url'
@@ -38,6 +39,7 @@
     _actions = []
 
     security = ClassSecurityInfo()
+    security.declareObjectProtected( CMFCorePermissions.View )
 
     manage_options = ( ActionProviderBase.manage_options +
                       ({ 'label' : 'Overview', 'action' : 'manage_overview' } 





<Prev in Thread] Current Thread [Next in Thread>