← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~cjwatson/launchpad:fix-delete-related-access-tokens into launchpad:master

 

Colin Watson has proposed merging ~cjwatson/launchpad:fix-delete-related-access-tokens into launchpad:master.

Commit message:
Grant garbo access to delete from AccessToken

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)
Related bugs:
  Bug #1964800 in Launchpad itself: "Can't delete git repository with access tokens"
  https://bugs.launchpad.net/launchpad/+bug/1964800

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

Fixes test failure caused by https://code.launchpad.net/~cjwatson/launchpad/+git/launchpad/+merge/416820.
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~cjwatson/launchpad:fix-delete-related-access-tokens into launchpad:master.
diff --git a/database/schema/security.cfg b/database/schema/security.cfg
index 69dfec9..ada34e5 100644
--- a/database/schema/security.cfg
+++ b/database/schema/security.cfg
@@ -2472,6 +2472,7 @@ public.accessartifactgrant              = SELECT, DELETE
 public.accesspolicy                     = SELECT, DELETE
 public.accesspolicyartifact             = SELECT, DELETE
 public.accesspolicygrant                = SELECT, DELETE
+public.accesstoken                      = SELECT, DELETE
 public.account                          = SELECT, DELETE
 public.answercontact                    = SELECT, DELETE
 public.archiveauthtoken                 = SELECT, UPDATE