Schema and Group permissions question
От | Rory Campbell-Lange |
---|---|
Тема | Schema and Group permissions question |
Дата | |
Msg-id | 20040905233505.GA4369@campbell-lange.net обсуждение исходный текст |
Список | pgsql-general |
I'm setting up a system to use schemas: DB -----------+------------ | | | | Schemas: Prod Test Funcs TestFuncs | | tables tables This sort of arrangmenet allows me to have a Production set of tables and a Test set of tables. By loading the plsql functions into either Funcs or TestFuncs, I can try out new test functions with the test data before putting them into production. However different database users need to load functions into TestFuncs, and use, and possibly drop and reload, the tables in Test. I tried the following: postgres@psql> CREATE SCHEMA Test; postgres@psql> CREATE USER User1; postgres@psql> CREATE USER User2; postgres@psql> CREATE GROUP Testers WITH USER User1, User2; postgres@psql> GRANT ALL ON Test TO GROUP Testers; However, when User1 loads tables into Test, User2 cannot work with them unless User1 explicity sets: "GRANT ALL ON <tablename>|<indexname> TO User2" Is there anyway of setting the equivalent of a directory g+sw permissions on Test? Thanks for any help Rory -- Rory Campbell-Lange <rory@campbell-lange.net> <www.campbell-lange.net>
В списке pgsql-general по дате отправления: