Commit bd582ff7 authored by 's avatar

removed __roles__ hack

parent a3e3eeba
......@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__='$Revision: 1.98 $'[11:-2]
__version__='$Revision: 1.99 $'[11:-2]
import Globals, App.Undo, socket, regex
from Globals import HTMLFile, MessageDialog, Persistent, PersistentMapping
......@@ -107,11 +107,6 @@ NotImplemented='NotImplemented'
class BasicUser(Implicit):
"""Base class for all User objects"""
# Allow access to has_role, etc. This is needed because otherwise
# the __roles__ of the acl_users that we came from would prevent
# us accessing any User methods from DTML.
__roles__=None
# ----------------------------
# Public User object interface
# ----------------------------
......@@ -344,8 +339,6 @@ class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
),
)
# This prevents sneaky access to internal data.
# __roles__=[]
# ----------------------------------
# Public UserFolder object interface
......
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