diff options
| author | Jeremy Kerr <jk@ozlabs.org> | 2008-08-22 11:02:04 +0800 | 
|---|---|---|
| committer | Jeremy Kerr <jk@ozlabs.org> | 2008-08-22 11:08:05 +0800 | 
| commit | c48e0b7ae7ee309b86b7a44de76f1858c080342a (patch) | |
| tree | 22b3a10b6fb01e21dd5170f7042139cd15f97430 /lib | |
| parent | 941db44d31f4736bab7c60c4995de16961944745 (diff) | |
| download | patchwork-c48e0b7ae7ee309b86b7a44de76f1858c080342a.tar.bz2 patchwork-c48e0b7ae7ee309b86b7a44de76f1858c080342a.tar.xz  | |
Add DB permissions for registration app
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sql/grant-all.sql | 8 | 
1 files changed, 4 insertions, 4 deletions
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  | 
