From c48e0b7ae7ee309b86b7a44de76f1858c080342a Mon Sep 17 00:00:00 2001
From: Jeremy Kerr <jk@ozlabs.org>
Date: Fri, 22 Aug 2008 11:02:04 +0800
Subject: Add DB permissions for registration app

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
---
 lib/sql/grant-all.sql | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'lib/sql/grant-all.sql')

diff --git a/lib/sql/grant-all.sql b/lib/sql/grant-all.sql
index d0dd45f..72e1f31 100644
--- a/lib/sql/grant-all.sql
+++ b/lib/sql/grant-all.sql
@@ -13,7 +13,6 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
 	auth_group,
 	auth_user_user_permissions,
 	auth_permission,
-	patchwork_registrationrequest,
 	patchwork_userpersonconfirmation,
 	patchwork_state,
 	patchwork_comment,
@@ -23,7 +22,8 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
 	patchwork_project,
 	patchwork_bundle,
 	patchwork_bundle_patches,
-	patchwork_patch
+	patchwork_patch,
+	registration_registrationprofile
 TO "www-data";
 GRANT SELECT, UPDATE ON
 	auth_group_id_seq,
@@ -42,11 +42,11 @@ GRANT SELECT, UPDATE ON
 	patchwork_patch_id_seq,
 	patchwork_person_id_seq,
 	patchwork_project_id_seq,
-	patchwork_registrationrequest_id_seq,
 	patchwork_state_id_seq,
 	patchwork_userpersonconfirmation_id_seq,
 	patchwork_userprofile_id_seq,
-	patchwork_userprofile_maintainer_projects_id_seq
+	patchwork_userprofile_maintainer_projects_id_seq,
+	registration_registrationprofile_id_seq
 TO "www-data";
 
 -- allow the mail user (in this case, 'nobody') to add patches
-- 
cgit v1.2.3

