UniverseUniversity


Home Projects Jobs Clientele Contact

uu


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

Re: UMOs with multiple versions



Hmm. It looks like adding latest editable unpublished is making the whole thing pretty slow. For two others, we already have shortcuts in umo_base. But the latest editable depends on ACL and I can't add a shortcut, so the query has to walk through results. Do we really need it?

2009/1/7 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
Alexey Parshin wrote:
>
> 2009/1/7 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>>
>
>     Let's make it even more complex then that for umo_find.
>     umo_find should return all published versions for all objects,
>     plus all unpublished versions for objects, to which current
>     user has modification access (EDITOR, ADMIN...)
>
>
> So, with two flags I suggested there would be three new flags:
>
>     * latest published
>     * latest unpublished
>     * latest editable unpublished
>
> Is it what you want?
Yes.
>
>
>     Also, it should return base object ID, and be sorted by it.
>     This way I'll be able to group it in UI in clear manner.
>
>
> Ok, I'd add umo_base_id into umo_content_ext type.
>
>
>
Sounds good.

--
Ilya A. Volynets-Evenbakh
http://www.total-knowledge.com




--
Alexey Parshin,
http://www.sptk.net

Authoright © Total Knowledge: 2001-2008