2 -- give necessary permissions to the web server. Becuase the admin is all
3 -- web-based, these need to be quite permissive
4 GRANT SELECT, UPDATE, INSERT, DELETE ON
9 auth_group_permissions,
13 auth_user_user_permissions,
15 patchwork_emailconfirmation,
19 patchwork_userprofile,
20 patchwork_userprofile_maintainer_projects,
23 patchwork_bundlepatch,
25 patchwork_emailoptout,
26 patchwork_patchchangenotification
28 GRANT SELECT, UPDATE ON
30 auth_group_permissions_id_seq,
31 auth_permission_id_seq,
32 auth_user_groups_id_seq,
34 auth_user_user_permissions_id_seq,
35 django_admin_log_id_seq,
36 django_content_type_id_seq,
38 patchwork_bundle_id_seq,
39 patchwork_bundlepatch_id_seq,
40 patchwork_comment_id_seq,
41 patchwork_patch_id_seq,
42 patchwork_person_id_seq,
43 patchwork_project_id_seq,
44 patchwork_state_id_seq,
45 patchwork_emailconfirmation_id_seq,
46 patchwork_userprofile_id_seq,
47 patchwork_userprofile_maintainer_projects_id_seq
50 -- allow the mail user (in this case, 'nobody') to add patches
51 GRANT INSERT, SELECT ON
60 GRANT UPDATE, SELECT ON
61 patchwork_patch_id_seq,
62 patchwork_person_id_seq,
63 patchwork_comment_id_seq