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. _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

