Piotras <[EMAIL PROTECTED]> wrote:
I will answer to myself , if You mind ;)
> We have two solutions:
> 1. Extend midgard objects rights in future releases with adding
> some special world writeable group which is mandatory IMO.
Who want to wait? no one.
> 2. Add new function and method
> $object->update_public();
> or maybe add parameter to update method
> $object->update("public");
This would be crazy from source point of view. So I would propose
such solution with "virtual" like object' property, which could allow
write such code:
$art = mgd_get_article($id);
$art->view = 123;
$art->public = TRUE;
$art->update();
Let me know how do You find it from security point of view, and
if the property "public" is that one You need. I will try to make it soon.
Piotras
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]