22 Aug
2000
22 Aug
'00
1:55 p.m.
Ah.... That would explain it! How about this, instead of an attribute, I created a method: def icon(self): return 'misc_/Squishdot/squishfile_img' This seemed to work. Attached is the patch. Comments? -Lance On Tue, 22 Aug 2000, Chris Withers wrote:
Lance wrote:
I think you have to not only inherit RoleManager, but OFS.SimpleItem.Item as well. At least, that's what the Security HOWTO seems to imply.
No, it shouldn't :(
SimpleItem.Item has __allow_access_to_unprotected_subobjects__=1 in it, so it just masks the problem rather than solving it properly...
cheers,
Chris