scripts/cache-country-mirrors.py is accessing the DB as launchpad_main - excessive permissions/access?
Bug #550658 reported by
Steve McInerney
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?
To post a comment you must log in.
I believe thise needs no more than 5 tables, only one being writable.