[Setup] View permission lost after migration to 2.5

Ed Eddington ed at internethut.com
Tue Jun 12 12:58:56 UTC 2007

Migrating Plone site from 2.0.5 to 2.5.2.

Our site has custom roles
and restricts View permission on some objects. After migration, I
noticed that object View permissions have not been preserved. I have
verified this in the debugger:

>>> i._View_Permission

('Manager', 'Ph_Member')

This object's View permissions are not
acquired, and only Manager and Member (custom role) have view

>>> i._View_Permission 

This object
acquires View permission from parent.

Is this expected? Some objects
*do* have View permission preserved. It seems to affect objects with
View permission assigned to our custom roles. What things might be
involved in causing this?

Another interesting note:

None of the
objects with custom View permission seem to be indexed in
portal_catalog before the migration. (They did not appear in queries
even after clearing and rebuilding the catalog. They do appear in
catalog after migration.) Should this matter?

Priority Health


I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo

More information about the Setup mailing list