diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2020-04-14 13:57:53 +0800 |
---|---|---|
committer | Daniel Axtens <dja@axtens.net> | 2020-04-14 16:15:37 +1000 |
commit | cbc04868c164d2541e01a5de18d568c54f6dcfd1 (patch) | |
tree | f4214ea9bf9f98e9b63ac565d1522294dc2995e2 /templates | |
parent | e15fc9fef64ba8cfd4f5f5c3c74135caef0ebfa7 (diff) | |
download | patchwork-cbc04868c164d2541e01a5de18d568c54f6dcfd1.tar patchwork-cbc04868c164d2541e01a5de18d568c54f6dcfd1.tar.gz |
lib/sql: Update grant script for recent schema changes
This change fixes a few omissions in the grant scripts:
- patchrelation is missing from both mysql and postgres scripts; it's
only needed for web user access.
- event is missing from the web grants on postgres, and the mail grants
on mysql.
Tested on postgres only.
Fixes: 27c2acf56c ("models, templates: Add patch relations")
Fixes: 34e3c9c493 ("sql: Update 'grant-all.mysql' script with missing tables")
Fixes: 234bc7c316 ("lib/sql: fix permissions for v2.0.0 on postgres")
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions