[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/rotterdam/xmltree.js
Changed CONTENT_VIEW from @@manage to @@SelectedManagementView.html.
Shane Hathaway
shane at zope.com
Tue Nov 16 17:19:39 EST 2004
Log message for revision 28467:
Changed CONTENT_VIEW from @@manage to @@SelectedManagementView.html.
@@manage and @@SelectedManagementView.html do the same thing but have
different permissions applied to them. @@manage requires the
ManageContent permission, while the other is public. Therefore, with
CONTENT_VIEW set to @@manage, only people with the ManageContent
permission can use the XML tree. In reality, lots of people without
ManageContent can use the ZMI, so it's better for links to use
@@SelectedManagementView.html.
Changed:
U Zope3/trunk/src/zope/app/rotterdam/xmltree.js
-=-
Modified: Zope3/trunk/src/zope/app/rotterdam/xmltree.js
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/xmltree.js 2004-11-16 21:51:58 UTC (rev 28466)
+++ Zope3/trunk/src/zope/app/rotterdam/xmltree.js 2004-11-16 22:19:39 UTC (rev 28467)
@@ -6,7 +6,7 @@
var EXPAND = 'EXPAND';
var XML_CHILDREN_VIEW = '@@children.xml';
var SINGLE_BRANCH_TREE_VIEW = '@@singleBranchTree.xml';
-var CONTENT_VIEW = '@@manage';
+var CONTENT_VIEW = '@@SelectedManagementView.html';
var LG_DEBUG = 6;
More information about the Zope3-Checkins
mailing list