Alexey Parshin wrote:Can you develop a test case in database for umo_create + publish and
> 1. As far as I can see, umo_create() calls umo_create_default_groups()
> .. (pseudo-calls!):
> umo_create() --> umo_create_default_groups() -->
> person_add_to_group('ADMINS'), acl_grant('ADMINS','...,ADD VERSION,...');
I think the one you have creates new version for unpublished UMO (Hmm..
Should we even allow that?)
>Mm... I guess creating version first would be better then.
> So, the object creator is inserted into Admins group that has 'Add
> Version' right. May be, something is wrong with a version of UMO
> created with umo_create_version?
> 2. There could be one or more contents for each UMO (one per
> language). Content_id is an id of the particular content translation.
Authoright © Total Knowledge: 2001-2008