[dev] Don't harcode permison object name in ansel

Michael Rubinsky mrubinsk at horde.org
Sat Feb 2 15:39:52 UTC 2008


Quoting Duck <duck at obala.net>:

> 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.

Ah, right, of course.  I was confusing Shares with Perms.  Your correct...


>
> Duck
>
> --
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
> !DSPAM:47a47e90262192119859782!
>



Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2200 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/dev/attachments/20080202/f903e7fa/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/dev/attachments/20080202/f903e7fa/attachment-0001.bin 


More information about the dev mailing list