[dev] Don't harcode permison object name in ansel
Duck
duck at obala.net
Sat Feb 2 14:29:47 UTC 2008
On Saturday 02 of February 2008 15:22:12 Michael Rubinsky wrote:
> Quoting Duck <duck at obala.net>:
> > Don't harcode permisson object name. As with different permission drivers
> > DataTreeObject_Permission does not exits. Use the Perms::newPermission()
> > as this is its purpose.
>
> The problem is, Ansel currently assumes the use of the datatree in
> various places . See Ansel_Gallery_Share::setShareOb() for example
> (there are many others). So, while this patch won't neccessarily break
> anything if your using datatree, Ansel won't play nice right now with
> Perms backends other than datatree.
I saw this. Other DT usage are connected with Shares that already loads and
uses DT by its own. This was the only place I was able to find a direct
permission usage. So I should not affect anything.
Duck
More information about the dev
mailing list