~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to database/schema/security.py

  • Committer: Curtis Hovey
  • Date: 2011-12-28 17:03:06 UTC
  • mto: This revision was merged to the branch mainline in revision 14605.
  • Revision ID: curtis.hovey@canonical.com-20111228170306-n9fz94h85ckaoaf3
Separate test-authoring classes from test-running classes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
__metaclass__ = type
7
7
 
 
8
# pylint: disable-msg=W0403
8
9
import _pythonpath
9
10
 
10
11
from collections import defaultdict
16
17
 
17
18
import psycopg2
18
19
 
 
20
from canonical.database.sqlbase import connect
 
21
from lp.services.scripts import logger_options, logger, db_options
19
22
from fti import quote_identifier
20
 
from lp.services.database.sqlbase import connect
21
 
from lp.services.scripts import (
22
 
    db_options,
23
 
    logger,
24
 
    logger_options,
25
 
    )
26
23
import replication.helpers
27
24
 
 
25
 
28
26
# The 'read' group does not get given select permission on the following
29
27
# tables. This is to stop the ro user being given access to secrurity
30
28
# sensitive information that interactive sessions don't need.