Commit d64fa196 authored by Amos Latteier's avatar Amos Latteier

Changed tabs labels so the 'manage_access' is labeled as 'Define Permissions'...

Changed tabs labels so the 'manage_access' is labeled as 'Define Permissions' not 'Security' when the object is being used as a method.
parent 935e3d66
...@@ -85,9 +85,9 @@ ...@@ -85,9 +85,9 @@
"""Standard management interface support """Standard management interface support
$Id: Management.py,v 1.24 1999/05/24 21:00:27 jim Exp $""" $Id: Management.py,v 1.25 1999/06/15 01:01:46 amos Exp $"""
__version__='$Revision: 1.24 $'[11:-2] __version__='$Revision: 1.25 $'[11:-2]
import sys, Globals, ExtensionClass import sys, Globals, ExtensionClass
from Dialogs import MessageDialog from Dialogs import MessageDialog
...@@ -132,6 +132,11 @@ class Tabs(ExtensionClass.Base): ...@@ -132,6 +132,11 @@ class Tabs(ExtensionClass.Base):
for d in options: for d in options:
label=d.get('label', None)
if label=='Security' and hasattr(self, '_isBeingUsedAsAMethod') \
and self._isBeingUsedAsAMethod():
d['label']='Define Permissions'
path=d.get('path', None) path=d.get('path', None)
if path is None: path=d['action'] if path is None: path=d['action']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment