[Zope-CMF] change ownership on Zope objects

2008-02-05 Thread Marie Robichon
One of the administrators of our Plone site has changed services.  Given 
that our user authentication is via LDAP and that this person has write 
access to some parts of our site I now want to change the ownership of 
the pages he created in order to remove his write access.


What method is used to display the owner information in the manage_owner 
window?  I have written a script that queries the catalog and returns 
the Creator and owner_info() but this information is different again to 
the owner that is displayed in the manage_owner window.


Thanks in advance for your help

Marie

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] change ownership on Zope objects

2008-02-06 Thread Dieter Maurer
Marie Robichon wrote at 2008-2-6 08:42 +0100:
>One of the administrators of our Plone site has changed services.  Given 
>that our user authentication is via LDAP and that this person has write 
>access to some parts of our site I now want to change the ownership of 
>the pages he created in order to remove his write access.

Ownership is managed with methods in "AccessControl.Owned.Owned".
Note, however, that its use is restricted. Its sole purpose
is to help against trojan horse attacks and it affects only
executable objects (scripts, templates).

The "Owner" role (it affects permissions on objects) is
a local role managed with methods in "AccessControl.Role.RoleManager".



-- 
Dieter
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests