[CMF-checkins] CVS: CMF - ActionsTool.py:1.9
shane@digicool.com
shane@digicool.com
Fri, 1 Jun 2001 11:07:28 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv25767
Modified Files:
ActionsTool.py
Log Message:
Only display the "join" action if the user has the "Add portal member"
permission.
--- Updated File ActionsTool.py in package CMF --
--- ActionsTool.py 2001/05/25 17:37:53 1.8
+++ ActionsTool.py 2001/06/01 15:07:28 1.9
@@ -271,7 +271,7 @@
'category': 'user'},
{'name': 'Join',
'url': portal_url + '/join_form',
- 'permissions': [],
+ 'permissions': [CMFCorePermissions.AddPortalMember],
'category': 'user'},
]
else: