[dev] Permissions inheritance
Richard Wallace
rwallace at thewallacepack.net
Mon Nov 1 11:29:55 PST 2004
Chuck Hagenbuch wrote:
> Quoting Richard Wallace <rwallace at thewallacepack.net>:
>
>> Is there anyway to optimize this, maybe by loading all the parent
>> permissions in one shot with a single call to the datatree?
>
>
> You should be able to load everything with a datatree::get() call
> starting at
> the root ('-1').
>
I had thought about that, but that would load all permissions for
everything, wouldn't it? I guess I was hoping more for something to do
the reverse, that is, starting with a node load its attributes and it's
parents, rather than starting with a node and loading all the children.
Rich
More information about the dev
mailing list