IArchive.isSourceUploadAllowed() returns wrong answer for uploading to PPAs

Bug #821376 reported by Jonathan Lange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

I want to see if someone is allowed to upload to a given PPA, because of bug 814725 I can't just upload and see what the error is, I have to look before I leap.

IArchive.isSourceUploadAllowed() looks like it might be relevant, since I'm interested in seeing whether that person is allowed to upload source. However, when I ask if I am allowed to upload the source package 'hello' to my own PPA for the current release of Ubuntu, I am told "no":

>>> ppa.isSourceUploadAllowed(person=me, distroseries=ubuntu.current_series, sourcepackagename='hello')
False

I would expect that the answer should be 'True', since I am allowed to upload source to my own PPA.

Tags: api ppa
Changed in launchpad:
status: New → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.