← Back to team overview

launchpad-dev team mailing list archive

Re: [RFC] Bug #347768: Allow anyone with upload rights to write to a package branch.

 

On Thursday 23 July 2009 06:29:44 Bjorn Tillenius wrote:
> Not that this can_upload() function (at least the last time I looked)
> doesn't really give you the answer you're looking for. The above checks
> whether the person has been granted upload priviliges to the source
> package directly, and not indirectly through a component or a
> packageset. Which means that you have to call this function quite a few
> times with different arguments to get your answer. This was at least
> true for component permissions, but I didn't confirm how it handled
> packagesets.

Actually you only need to call it twice, once for the package and once for the 
component.  Packageset checks are done in the former.



Follow ups

References