Comment 4 for bug 990219

Revision history for this message
Colin Watson (cjwatson) wrote :

On dogfood, I checked that the "hello" package was already in the "core" packageset, gave core a relative_build_score of 2000, and uploaded a test build of hello. The score was correctly set to 4505.

I then deactivated ~techboard as a member of ~launchpad-buildd-admins, thus temporarily removing my own membership of that team, and verified that now I can see the build score but not set it, even though I still have upload privileges:

  >>> core.relative_build_score = 0
  >>> core.lp_save()
  Traceback (most recent call last):
  [...]
  Unauthorized: HTTP Error 401: Unauthorized
  [...]
  (<lp.soyuz.model.packageset.Packageset object at 0xf847dcc>, 'relative_build_score', 'launchpad.Moderate')

So this seems to be behaving as intended now.