Home Projects Jobs Clientele Contact


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding UMO versions

Define the priority for this.

2009/1/5 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
Alexey Parshin wrote:
> 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,...');
Can you develop a test case in database for umo_create + publish and
then umo_add_version?
I think the one you have creates new version for unpublished UMO (Hmm..
Should we even allow that?)
> 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.
Mm... I guess creating version first would be better then.


Alexey Parshin,

Authoright © Total Knowledge: 2001-2008