person-transfer-job, ProgrammingError: permission denied for relation account
Bug #751995 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Curtis Hovey |
Bug Description
OOPS-1920REPORTIFSEEN160
Looks like the async code to merge people needs a db permission and a new oops prefix.
Related branches
lp:~sinzui/launchpad/person-transfer-permission-0
- Robert Collins (community): Approve
-
Diff: 78 lines (+35/-2)2 files modifieddatabase/schema/security.cfg (+1/-0)
lib/lp/registry/tests/test_membership_notification_job.py (+34/-2)
summary: |
- ProgrammingError: permission denied for relation account + person-transfer-job, ProgrammingError: permission denied for relation + account |
Changed in launchpad: | |
assignee: | nobody → Curtis Hovey (sinzui) |
milestone: | none → 11.05 |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This error was caused by a queue team membership change.
ProgrammingError: permission denied for relation account
Traceback (most recent call last): job.runner, line 203, in runJobHandleError runJob( job) job.runner, line 174, in runJob model.persontra nsferjob, line 229, in run getTeamAdminsEm ailAddresses( ) model.person, line 1427, in getTeamAdminsEm ailAddresses addrs.update( get_contact_ email_addresses (person) ) launchpad. helpers, line 216, in get_contact_ email_addresses person) ) launchpad. helpers, line 215, in <genexpr> removeSecurityP roxy(mail_ person. preferredemail) .email) launchpad. components. decoratedresult set, line 91, in __iter__ result_ set.__iter_ _(*args, **kwargs)) _connection. execute( self._get_ select( )) .postgres, line 249, in execute execute( self, statement, params, noresult) execute( statement, params) .postgres, line 259, in raw_execute raw_execute( self, statement, params) _check_ disconnect( raw_cursor. execute, *args)
Module lp.services.
self.
Module lp.services.
job.run()
Module lp.registry.
admin_emails = self.team.
Module lp.registry.
to_
Module canonical.
for mail_person in get_recipients(
Module canonical.
str(
Module canonical.
results = list(self.
Module storm.store, line 996, in __iter__
result = self._store.
Module storm.databases
return Connection.
Module storm.database, line 237, in execute
raw_cursor = self.raw_
Module storm.databases
return Connection.
Module storm.database, line 321, in raw_execute
self.
Module storm.database, line 366, in _check_disconnect
return function(*args, **kwargs)
ProgrammingError: permission denied for relation account