Commit 4c56b3a2 authored by 's avatar

Removed __ac_types__

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