##parameters=
from Products.CMFCore.utils import getToolByName
-from Products.CMFCore.permissions import ReviewPortalContent
+from Products.CMFCore.permissions import ReviewPortalContent, ModifyPortalContent
mtool = getToolByName(context, 'portal_membership')
pptool = getToolByName(context, 'portal_photo_print', None)
uidtool = getToolByName(context, 'portal_uidhandler')
if mtool.checkPermission(ReviewPortalContent, context) :
features['hideAnonymous'] = True
+if mtool.checkPermission(ModifyPortalContent, context) :
+ features['checkbox'] = True
+
sd = context.session_data_manager.getSessionData(create = 1)
selDict = sd.get('objects_selection_dict', {})