itkacl-web needs access to the sequence, too.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 14 May 2013 23:34:40 +0000 (01:34 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 14 May 2013 23:34:40 +0000 (01:34 +0200)
itkacl-web-1.0/README

index a79b9c236acbf65977f2a1185cb3c5dca691dc9d..1b3013652239e085c5acb9aad56cacb08daffb40 100644 (file)
@@ -24,6 +24,7 @@ How to set up the web admin interface:
 
      createuser --pwprompt itkacl-web
      echo 'GRANT SELECT, INSERT, UPDATE, DELETE ON objects TO "itkacl-web";' | psql itkacl
+     echo 'GRANT SELECT, UPDATE ON objects_id_seq TO "itkacl-web";' | psql itkacl
      echo 'GRANT SELECT, INSERT, UPDATE, DELETE ON aclentries TO "itkacl-web";' | psql itkacl
      echo 'GRANT SELECT, INSERT, UPDATE, DELETE ON sessions TO "itkacl-web";' | psql itkacl-sessions