[Zope-CMF] [dev] CMF 1.4 alpha
Hamish Harvey (David)
david.harvey@bristol.ac.uk
Tue, 25 Feb 2003 14:00:33 +0000
On Tuesday 25 Feb 2003 1:55 pm, Chris Withers wrote:
> David Harvey (Hamish) wrote:
> > On Thursday 20 Feb 2003 10:42 am, Yuppie wrote:
> >><http://collector.zope.org/CMF/114>
> >>Restriction of content type addition based upon user roles (ie: user x
> >>can enter types y and z).
> >>(ChrisW ?)
> >
> > I've got a patch that might do this. It seems to work for me, but I've
> > been running with a monkey patch doing the same thing for a while, so
> > this isn't a reasonable test. It's possibly a bit crude. It's a reworking
> > as a direct patch against CMFCore of the monkey patch on which ChrisW's
> > suggestion was based, so should conform exactly to that in terms of
> > behaviour, with the exception that the permission name became "Add
> > content instances".
>
> I'd really like to see this doen "properly" this time...
>
> If people can keep bugging me off list, it'll get bumped up my priorities
> list...
Yay, shall do!
I look forward to the learning experience of how it looks done "properly"
compared to my patch. I got more confused the closer I looked at the security
stuff. I suspect that a proper solution will either be much simpler than
mine, or involve a lot more changes - IOW, I just didn't see how to do it, or
it really isn't that simple.
Cheers,
Hamish