Commit 4c56b3a2 authored by 's avatar

Removed __ac_types__

parent 11455635
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
__doc__='''Application support __doc__='''Application support
$Id: Application.py,v 1.37 1998/01/12 21:31:13 jim Exp $''' $Id: Application.py,v 1.38 1998/01/13 23:04:54 brian Exp $'''
__version__='$Revision: 1.37 $'[11:-2] __version__='$Revision: 1.38 $'[11:-2]
import Globals,Folder,os,regex,sys import Globals,Folder,os,regex,sys
...@@ -132,30 +132,6 @@ class Application(Folder.Folder): ...@@ -132,30 +132,6 @@ class Application(Folder.Folder):
return DateTime() return DateTime()
# def manage_addRole(self,REQUEST,role):
# """ """
# roles=list(self.__defined_roles__)
# if role not in roles:
# roles.append(role)
# roles.sort()
# self.__defined_roles__=tuple(roles)
# try: roles=self.__roles__
# except: roles=[]
# if roles is None: roles=[]
# roles.append(role)
# self.__roles__=roles
# return self.manage_rolesForm(self, REQUEST)
# def manage_deleteRole(self,REQUEST,role):
# """ """
# roles=list(self.__defined_roles__)
# if role in roles:
# del roles[roles.index(role)]
# self.__defined_roles__=tuple(roles)
# def validRoles(self):
# return self.__defined_roles__
...@@ -283,6 +259,9 @@ class Misc_: ...@@ -283,6 +259,9 @@ class Misc_:
############################################################################## ##############################################################################
# #
# $Log: Application.py,v $ # $Log: Application.py,v $
# Revision 1.38 1998/01/13 23:04:54 brian
# Removed __ac_types__
#
# Revision 1.37 1998/01/12 21:31:13 jim # Revision 1.37 1998/01/12 21:31:13 jim
# Made application default Manager, Anonymous # Made application default Manager, Anonymous
# #
......
"""Document object""" """Document object"""
__version__='$Revision: 1.40 $'[11:-2] __version__='$Revision: 1.41 $'[11:-2]
from Globals import HTML, HTMLFile, MessageDialog from Globals import HTML, HTMLFile, MessageDialog
from string import join,split,strip,rfind,atoi from string import join,split,strip,rfind,atoi
...@@ -44,9 +44,6 @@ class Document(HTML, Explicit, RoleManager, Item_w__name__): ...@@ -44,9 +44,6 @@ class Document(HTML, Explicit, RoleManager, Item_w__name__):
('Shared permission', ['',]), ('Shared permission', ['',]),
) )
__ac_types__=(('Full Access', map(lambda x: x[0], __ac_permissions__)),
('View Access', ['View',]),
)
__call____roles__='Manager', 'Shared' __call____roles__='Manager', 'Shared'
def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw): def __call__(self, client=None, REQUEST={}, RESPONSE=None, **kw):
......
"""Folder object """Folder object
$Id: Folder.py,v 1.34 1998/01/12 21:31:58 jim Exp $""" $Id: Folder.py,v 1.35 1998/01/13 23:04:55 brian Exp $"""
__version__='$Revision: 1.34 $'[11:-2] __version__='$Revision: 1.35 $'[11:-2]
from Globals import HTMLFile from Globals import HTMLFile
...@@ -108,8 +108,6 @@ class Folder(ObjectManager,RoleManager,DocumentHandler, ...@@ -108,8 +108,6 @@ class Folder(ObjectManager,RoleManager,DocumentHandler,
('Shared permission', ['']), ('Shared permission', ['']),
) )
__ac_types__=(('Full Access', map(lambda x: x[0], __ac_permissions__)),
)
def tpValues(self): def tpValues(self):
r=[] r=[]
......
"""Image object""" """Image object"""
__version__='$Revision: 1.23 $'[11:-2] __version__='$Revision: 1.24 $'[11:-2]
from Globals import HTMLFile, MessageDialog from Globals import HTMLFile, MessageDialog
from AccessControl.Role import RoleManager from AccessControl.Role import RoleManager
...@@ -40,9 +40,6 @@ class File(Persistent,Implicit,RoleManager,Item_w__name__): ...@@ -40,9 +40,6 @@ class File(Persistent,Implicit,RoleManager,Item_w__name__):
('Shared permission', ['',]), ('Shared permission', ['',]),
) )
__ac_types__=(('Full Access', map(lambda x: x[0], __ac_permissions__)),
('View Access', ['View',]),
)
def __init__(self,id,title,file,content_type=''): def __init__(self,id,title,file,content_type=''):
try: headers=file.headers try: headers=file.headers
......
...@@ -9,8 +9,8 @@ import Globals ...@@ -9,8 +9,8 @@ import Globals
from Scheduler.OneTimeEvent import OneTimeEvent from Scheduler.OneTimeEvent import OneTimeEvent
from ImageFile import ImageFile from ImageFile import ImageFile
#$Id: MailHost.py,v 1.24 1998/01/05 19:34:12 jeffrey Exp $ #$Id: MailHost.py,v 1.25 1998/01/13 23:06:10 brian Exp $
__version__ = "$Revision: 1.24 $"[11:-2] __version__ = "$Revision: 1.25 $"[11:-2]
smtpError = "SMTP Error" smtpError = "SMTP Error"
MailHostError = "MailHost Error" MailHostError = "MailHost Error"
...@@ -48,8 +48,6 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager): ...@@ -48,8 +48,6 @@ class MailBase(Acquisition.Implicit, OFS.SimpleItem.Item, RoleManager):
('Use mailhost services',['']), ('Use mailhost services',['']),
) )
__ac_types__=(('Full Access', map(lambda x: x[0], __ac_permissions__)),
)
def __init__(self): def __init__(self):
...@@ -246,6 +244,9 @@ def decapitate(message, **kw): ...@@ -246,6 +244,9 @@ def decapitate(message, **kw):
#################################################################### ####################################################################
# #
#$Log: MailHost.py,v $ #$Log: MailHost.py,v $
#Revision 1.25 1998/01/13 23:06:10 brian
#Removed __ac_types__
#
#Revision 1.24 1998/01/05 19:34:12 jeffrey #Revision 1.24 1998/01/05 19:34:12 jeffrey
#split out the SendMail tag machinery into new module #split out the SendMail tag machinery into new module
# #
......
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