]> git.ozlabs.org Git - patchwork/commitdiff
Add DB permissions for registration app
authorJeremy Kerr <jk@ozlabs.org>
Fri, 22 Aug 2008 03:02:04 +0000 (11:02 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 22 Aug 2008 03:08:05 +0000 (11:08 +0800)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
lib/sql/grant-all.sql

index d0dd45f8ecd2a5b1dfe5b4f3868147945454b746..72e1f3195f516d7a431872a1123f787835c4ee4e 100644 (file)
@@ -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