Cannot accept package which would notify private email addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
ScottK could not accept ibid from Lucid source NEW today -- he received a 403. I suspect that this is due to the private email address of the person in Changed-By. Trying it locally:
[...]
Module lp.soyuz.
queue_item.
Module lp.soyuz.
changes_
Module lp.soyuz.
recipients = self._getRecipi
Module lp.soyuz.
person.
Unauthorized: (<EmailAddress at 0xe63366c <email address hidden> [Preferred Email Address]>, 'email', 'launchpad.
I believe it only fails if it would send a notification to the private email address; using the private email address in the email (eg. if the person is deactivated) seems to work fine.
Related branches
- William Grant: Approve (code)
-
Diff: 820 lines (+472/-28)13 files modifieddatabase/schema/security.cfg (+2/-0)
lib/lp/services/config/schema-lazr.conf (+6/-0)
lib/lp/soyuz/configure.zcml (+20/-0)
lib/lp/soyuz/doc/distroseriesqueue.txt (+15/-0)
lib/lp/soyuz/enums.py (+15/-1)
lib/lp/soyuz/interfaces/archivejob.py (+66/-0)
lib/lp/soyuz/interfaces/queue.py (+6/-2)
lib/lp/soyuz/model/archivejob.py (+173/-0)
lib/lp/soyuz/model/queue.py (+9/-16)
lib/lp/soyuz/stories/soyuz/xx-queue-pages.txt (+17/-0)
lib/lp/soyuz/tests/test_archivejob.py (+113/-0)
lib/lp/soyuz/tests/test_packagecopyjob.py (+12/-9)
lib/lp/soyuz/tests/test_packageupload.py (+18/-0)
Changed in soyuz: | |
status: | Fix Committed → Triaged |
tags: | removed: qa-needstesting |
tags: | removed: qa-untestable |
Changed in soyuz: | |
milestone: | 10.10 → none |
Changed in launchpad: | |
assignee: | Julian Edwards (julian-edwards) → nobody |
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Essentially the same problem as bug 564491 and will require the same fix.