scripts/cache-country-mirrors.py is accessing the DB as launchpad_main - excessive permissions/access?

Bug #550658 reported by Steve McInerney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

I'm assuming this is access way and above beyond what is necessary to achieve the task?

Per most of our other scripts; could this one be:
1. given it's own userid to access the DB; this assists with debugging when rouge accesses happen
2. access restricted down to only that required
Perhaps read only on a limited set of table(s) would be fine?

Revision history for this message
Curtis Hovey (sinzui) wrote :

I believe thise needs no more than 5 tables, only one being writable.

Changed in launchpad-registry:
status: New → Triaged
importance: Undecided → Low
tags: added: mirror
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.