Commit 3ad487ca authored by Zachery Bir's avatar Zachery Bir

Reverted pending tests and further work.

parent 5ff54260
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
############################################################################## ##############################################################################
__doc__="""Object Manager __doc__="""Object Manager
$Id: ObjectManager.py,v 1.169 2004/03/16 22:08:34 urbanape Exp $""" $Id: ObjectManager.py,v 1.170 2004/03/17 13:54:16 urbanape Exp $"""
__version__='$Revision: 1.169 $'[11:-2] __version__='$Revision: 1.170 $'[11:-2]
import App.Management, Acquisition, Globals, CopySupport, Products import App.Management, Acquisition, Globals, CopySupport, Products
import os, App.FactoryDispatcher, re, Products import os, App.FactoryDispatcher, re, Products
...@@ -271,7 +271,7 @@ class ObjectManager( ...@@ -271,7 +271,7 @@ class ObjectManager(
if object.__ac_local_roles__ is None: if object.__ac_local_roles__ is None:
user=getSecurityManager().getUser() user=getSecurityManager().getUser()
if user is not None: if user is not None:
name=user.getId() name=user.getName()
if name != 'Anonymous User': if name != 'Anonymous User':
object.manage_setLocalRoles(name, ['Owner']) object.manage_setLocalRoles(name, ['Owner'])
......
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