[CMF-checkins] CVS: CMF/CMFDefault/skins/control - folder_localrole_edit.py:1.3
Florent Guillaume
fg@nuxeo.com
Wed, 3 Jul 2002 15:57:34 -0400
Update of /cvs-repository/CMF/CMFDefault/skins/control
In directory cvs.zope.org:/tmp/cvs-serv21628/CMFDefault/skins/control
Modified Files:
folder_localrole_edit.py
Log Message:
Made the security-related indexes of the portal catalog be updated for
all impacted objects whenever local roles are changed (Tracker #494).
This feature makes use of the 'path' index.
(XXX Tests should be written for those... I'm not familiar enough with
security-related tests to do that.)
Made 'path' (PathIndex) a standard index inside CMF. When upgrading from
earlier versions this index will have to be created by hand.
Noted this upgrade requirement in the INSTALL.txt file.
=== CMF/CMFDefault/skins/control/folder_localrole_edit.py 1.2 => 1.3 ===
, member_ids=context.REQUEST.get('member_ids', ())
, member_role=context.REQUEST.get('member_role', '')
- )
+ , reindex=1
+ )
else:
pm.deleteLocalRoles( obj=context
, member_ids=context.REQUEST.get('member_ids', ())
+ , reindex=1
)
qst='?portal_status_message=Local+Roles+changed.'