← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:db-charm-base into launchpad:db-devel

 

Colin Watson has proposed merging ~cjwatson/launchpad:db-charm-base into launchpad:db-devel.

Commit message:
Define DB permissions for CharmBase and CharmBaseArch

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/409504

The lack of these caused extensive buildbot failures.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:db-charm-base into launchpad:db-devel.
diff --git a/database/schema/security.cfg b/database/schema/security.cfg
index 8779ef9..f664a4a 100644
--- a/database/schema/security.cfg
+++ b/database/schema/security.cfg
@@ -154,6 +154,8 @@ public.bugtrackercomponentgroup         = SELECT, INSERT, UPDATE
 public.bugtrackerperson                 = SELECT, UPDATE
 public.bugwatchactivity                 = SELECT, INSERT, UPDATE
 public.buildfarmjob                     = DELETE
+public.charmbase                        = SELECT, INSERT, UPDATE, DELETE
+public.charmbasearch                    = SELECT, INSERT, DELETE
 public.charmfile                        = SELECT, INSERT, UPDATE, DELETE
 public.charmrecipe                      = SELECT, INSERT, UPDATE, DELETE
 public.charmrecipebuild                 = SELECT, INSERT, UPDATE, DELETE
@@ -2322,6 +2324,7 @@ public.bugtracker                       = SELECT, UPDATE
 public.bugtrackerperson                 = SELECT, UPDATE
 public.bugwatch                         = SELECT, UPDATE
 public.builder                          = SELECT, UPDATE
+public.charmbase                        = SELECT, UPDATE
 public.charmrecipe                      = SELECT, UPDATE
 public.charmrecipebuild                 = SELECT, UPDATE
 public.codeimport                       = SELECT, UPDATE
@@ -2816,6 +2819,8 @@ public.archive                          = SELECT
 public.builder                          = SELECT
 public.buildfarmjob                     = SELECT, INSERT
 public.buildqueue                       = SELECT, INSERT, UPDATE
+public.charmbase                        = SELECT
+public.charmbasearch                    = SELECT
 public.charmfile                        = SELECT
 public.charmrecipe                      = SELECT, UPDATE
 public.charmrecipebuild                 = SELECT, INSERT, UPDATE