]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix grants for new tables in Postgresql
authorKern Sibbald <kern@sibbald.com>
Fri, 11 Mar 2005 15:36:19 +0000 (15:36 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 11 Mar 2005 15:36:19 +0000 (15:36 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1884 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/grant_postgresql_privileges.in

index 552232a7dd8e67bb3a8c853d6cbfa4495db51f55..60df1692a83006cc1ecfc8587632c1cbd53949b7 100644 (file)
@@ -24,19 +24,26 @@ grant all on filename         to ${USER};
 grant all on counters    to ${USER};
 grant all on version     to ${USER};
 grant all on cdimages    to ${USER};
+grant all on mediatype   to ${USER};
+grant all on storage     to ${USER};
+grant all on device      to ${USER};
 
 -- for sequences on those tables
 
-grant select, update on filename_filenameid_seq to ${USER};
-grant select, update on path_pathid_seq        to ${USER};
-grant select, update on fileset_filesetid_seq  to ${USER};
-grant select, update on pool_poolid_seq        to ${USER};
-grant select, update on client_clientid_seq    to ${USER};
-grant select, update on media_mediaid_seq      to ${USER};
-grant select, update on job_jobid_seq          to ${USER};
-grant select, update on file_fileid_seq        to ${USER};
-grant select, update on jobmedia_jobmediaid_seq to ${USER};
-grant select, update on basefiles_baseid_seq   to ${USER};
+grant select, update on filename_filenameid_seq    to ${USER};
+grant select, update on path_pathid_seq           to ${USER};
+grant select, update on fileset_filesetid_seq     to ${USER};
+grant select, update on pool_poolid_seq           to ${USER};
+grant select, update on client_clientid_seq       to ${USER};
+grant select, update on media_mediaid_seq         to ${USER};
+grant select, update on job_jobid_seq             to ${USER};
+grant select, update on file_fileid_seq           to ${USER};
+grant select, update on jobmedia_jobmediaid_seq    to ${USER};
+grant select, update on basefiles_baseid_seq      to ${USER};
+grant select, update on storage_storageid_seq     to ${USER};
+grant select, update on mediatype_mediatypeid_seq  to ${USER};
+grant select, update on device_deviceid_seq       to ${USER};
+
 
 END-OF-DATA
 then