Commit c48e0b7a authored by Jeremy Kerr's avatar Jeremy Kerr
Browse files

Add DB permissions for registration app


Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
parent 941db44d
...@@ -13,7 +13,6 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON ...@@ -13,7 +13,6 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
auth_group, auth_group,
auth_user_user_permissions, auth_user_user_permissions,
auth_permission, auth_permission,
patchwork_registrationrequest,
patchwork_userpersonconfirmation, patchwork_userpersonconfirmation,
patchwork_state, patchwork_state,
patchwork_comment, patchwork_comment,
...@@ -23,7 +22,8 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON ...@@ -23,7 +22,8 @@ GRANT SELECT, UPDATE, INSERT, DELETE ON
patchwork_project, patchwork_project,
patchwork_bundle, patchwork_bundle,
patchwork_bundle_patches, patchwork_bundle_patches,
patchwork_patch patchwork_patch,
registration_registrationprofile
TO "www-data"; TO "www-data";
GRANT SELECT, UPDATE ON GRANT SELECT, UPDATE ON
auth_group_id_seq, auth_group_id_seq,
...@@ -42,11 +42,11 @@ GRANT SELECT, UPDATE ON ...@@ -42,11 +42,11 @@ GRANT SELECT, UPDATE ON
patchwork_patch_id_seq, patchwork_patch_id_seq,
patchwork_person_id_seq, patchwork_person_id_seq,
patchwork_project_id_seq, patchwork_project_id_seq,
patchwork_registrationrequest_id_seq,
patchwork_state_id_seq, patchwork_state_id_seq,
patchwork_userpersonconfirmation_id_seq, patchwork_userpersonconfirmation_id_seq,
patchwork_userprofile_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"; TO "www-data";
-- allow the mail user (in this case, 'nobody') to add patches -- allow the mail user (in this case, 'nobody') to add patches
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment