Thu Mar 1 13:02:34 PST 2007
- Previous message: [Slony1-commit] slony1-engine/tests/testschemanames gen_weak_user.sh
- Next message: [Slony1-commit] slony1-engine/tests/testtabnames gen_weak_user.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/tests/testseqnames
In directory main:/tmp/cvs-serv8746/tests/testseqnames
Added Files:
gen_weak_user.sh
Log Message:
Add tests to the testbed that confirm the minimal permissions required
by those Slony-I connections stored in sl_path.
--- NEW FILE: gen_weak_user.sh ---
weakuser=$1;
for i in 1 2 3; do
echo "grant select on table public.table${i} to ${weakuser};"
echo "grant select on table public.table${i}_id_seq to ${weakuser};"
done
echo "grant usage on schema \"Schema.name\" to ${weakuser};"
echo "grant usage on schema \"Studly Spacey Schema\" to ${weakuser};"
echo "grant select on table \"Schema.name\".\"user\" to ${weakuser};"
echo "grant select on table \"Schema.name\".\"Capital Idea\" to ${weakuser};"
echo "grant select on table \"Studly Spacey Schema\".\"user\" to ${weakuser};"
echo "grant select on table \"Studly Spacey Schema\".\"a.periodic.sequence\" to ${weakuser};"
- Previous message: [Slony1-commit] slony1-engine/tests/testschemanames gen_weak_user.sh
- Next message: [Slony1-commit] slony1-engine/tests/testtabnames gen_weak_user.sh
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list