UniverseUniversity


Home Projects Jobs Clientele Contact

uu


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

Re: Unpublished UMOs



Well, it's slightly more complicated than just a flag :)

The listings we use are always checked for View access. I can add ether 'can_edit' bool parameter, or 'required_access' varchar or int parameter to the umo listings.

2009/1/5 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com>
Alexey Parshin wrote:
> Can you point to the stored procedure that is used in your code?
So far I didn't change any logic from what you had. It's same
stuff - just called in different places :)
Anyways, this affects all the procedures which give us UMO listings
(umoFind, home page element listing, umoStatistics.. not sure what else)

> I will just add 'is_published' to the WHERE clause ..
Is it really that simple? We should still show those objects to people
with modification access to them.
>
> 2009/1/5 Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>>
>
>     I think we need to change UMO listings
>     to _not_ show UMOs with no published version
>     to those who don't have modification access.
>
>        Ilya.
>
>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net




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

Authoright © Total Knowledge: 2001-2008