Hi Kristis,

Yes, I think so. If you look at my original patch - you'll see
Version->create() is inside the eval block.

Regards,
Yavor

On Thu, Jun 24, 2010 at 19:22, Kristis Makris <[email protected]> wrote:

> Hi Yavor,
>
> On Wed, 2010-06-23 at 15:53 +0300, Yavor Nikolov wrote:
> > My patch for that on top of scmbug 0.26.17 worked fine in general but
> > I can see you've modified it when merging to scmbug in order to allow
> > private branching.
>
> Yes, that was the intention.
>
> > I took the code for my patch from Bugzilla's cgi scripts and version
> > create is anyway executed by the name of the given user (with the
> > relevant permissions). So I suspect calling
> > $user->check_can_admin_product doesn't pose any additional
> > restrictions (just performs a check which Version->create will perform
> > anyway when called).
>
> It sounds like the appropriate course of action is to have
> Version->create() be inside an eval, since it will perform that check
> anyway. What do you think ?
>
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to