From 0c597eee9307226df588e900130ca6ebe3e5f623 Mon Sep 17 00:00:00 2001 From: Tom Mortimer-Jones Date: Tue, 15 Jul 2014 20:55:05 +0100 Subject: [PATCH 1/2] Update set-permissions in testing docs --- doc/contributing/test.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/contributing/test.rst b/doc/contributing/test.rst index e0316e60968..d77a4a884e6 100644 --- a/doc/contributing/test.rst +++ b/doc/contributing/test.rst @@ -45,7 +45,7 @@ Create test databases: sudo -u postgres createdb -O |database_user| |test_database| -E utf-8 sudo -u postgres createdb -O |database_user| |test_datastore| -E utf-8 - paster datastore set-permissions postgres -c test-core.ini + paster datastore set-permissions -c test-core.ini | sudo -u postgres psql This database connection is specified in the ``test-core.ini`` file by the ``sqlalchemy.url`` parameter. From ca516c03de58c982df67b27710400702849b1b33 Mon Sep 17 00:00:00 2001 From: Tom Mortimer-Jones Date: Tue, 15 Jul 2014 21:10:21 +0100 Subject: [PATCH 2/2] Update set-permissions in paster docs --- doc/maintaining/paster.rst | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/maintaining/paster.rst b/doc/maintaining/paster.rst index 833ea812fd9..e10688c156e 100644 --- a/doc/maintaining/paster.rst +++ b/doc/maintaining/paster.rst @@ -240,13 +240,7 @@ Make sure that the datastore URLs are set properly before you run these commands Usage:: - datastore set-permissions SQL_SUPER_USER - - Where: - SQL_SUPER_USER is the name of a postgres user with sufficient - permissions to create new tables, users, and grant - and revoke new permissions. Typically, this would - be the "postgres" user. + datastore set-permissions - shows a SQL script to execute .. _paster db: