Comment 3 for bug 671329

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

As others have noted, it's important to check that oldest.import_into is not None when you call setStatus. That's the one check that's done outside of the normal authentication system for this call.

By the way, import_into is not a field you can set — it's computed from other fields. I'm not sure how launchpadlib deals with the need to re-compute it; you may have to re-load the object, which in turn I suppose may run into launchpadlib caching.

But assuming that import_into is not None, and that you authorized launchpadlib to perform write actions on your behalf, and that you are logged in using your normal account (which is privileged to make this change) then that would mean that your user identity is not being passed to the API method.