[Erp5-dev] "Allowed content type" does not matter?
Ivan Tyagov
ivan at nexedi.com
Wed Feb 14 17:05:50 CET 2007
> The weird thing about it is that some time ago it did work as
expected -
> if you tried to add an object of a type which was not in allowed types,
> the system would raise an exception. So the check was implemented, but
> apparently is not there anymore. Was it removed, or what?
>
> Bartek
I couldn't find traces in svn logs, maybe looking at the wrong place?
> If the patch is accepted, is it possible to change the exception to
raise an
> Unauthorized ?
>
> Jérome
It's possible. My only concern is that it can make debugging of such
problems (if patch applied) more difficult because the problem is
different. It's a developer's fault not an user credentials problem.
Ivan
More information about the Erp5-dev
mailing list