Chris Browne cbbrowne at lists.slony.info
Thu Mar 1 13:02:34 PST 2007
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};"



More information about the Slony1-commit mailing list