Skip to content

Commit

Permalink
Merge pull request #1845 from morty/set-permissions-doc-update
Browse files Browse the repository at this point in the history
Set permissions doc update
  • Loading branch information
joetsoi committed Jul 30, 2014
2 parents 3f0056c + ca516c0 commit c6c5993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion doc/contributing/test.rst
Expand Up @@ -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.
Expand Down
8 changes: 1 addition & 7 deletions doc/maintaining/paster.rst
Expand Up @@ -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:
Expand Down

0 comments on commit c6c5993

Please sign in to comment.