taylor 2002/12/11 19:48:30
Modified: webapp/WEB-INF/templates/vm/portlets/html
customizer-portletset.vm
Log:
im removing the ability to add refs unless the user has the admin role for 2 reasons:
1. i believe ive fixed all the security holes, but just in case i didn't,
i don't want to deal again with some asshole making a big security-buzzword
noise for his 2 minutes of open source fame
2. there are a number of bugs related with references, best to get them fixed before
letting average users at it
Once references are more stable, they should be enabled for the user role again
Revision Changes Path
1.14 +1 -1
jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset.vm
Index: customizer-portletset.vm
===================================================================
RCS file:
/home/cvs/jakarta-jetspeed/webapp/WEB-INF/templates/vm/portlets/html/customizer-portletset.vm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- customizer-portletset.vm 27 Nov 2002 17:56:39 -0000 1.13
+++ customizer-portletset.vm 12 Dec 2002 03:48:30 -0000 1.14
@@ -43,7 +43,7 @@
<form action="$jslink.Template" method="post">
#end
- #if ($allowportlet=="true")
+ #if ($allowreference=="true")
$jetspeed.getPortletParameter($data, $customizer, "addRef",
$l10n.CUSTOMIZER_ADDREFERENCE)
#else
$jetspeed.getPortletParameter($data, $customizer, "addRefDisabled",
$l10n.CUSTOMIZER_ADDREFERENCE)
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>