Re: Smaller access privilege changes
От | Oliver Elphick |
---|---|
Тема | Re: Smaller access privilege changes |
Дата | |
Msg-id | 200105241757.f4OHvotb008737@linda.lfix.co.uk обсуждение исходный текст |
Ответ на | Smaller access privilege changes (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: Smaller access privilege changes
|
Список | pgsql-hackers |
Peter Eisentraut wrote: >Since there is no plan yet how to do a wholesale overhaul of the ACL >system, I'd like to sticka few improvements into the current >implementation: >* COPY FROM will require INSERT privilege. It used to require> UPDATE/DELETE, it think that is not correct.. COPY FROM should require either INSERT or UPDATE or both according to what rows are being copied. If a copied primary key already exists, that will be an update. I don't see any reason to give COPY FROM any special treatment - surely it should succeed or fail according to whether what it is trying to do is within the user's privileges. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight http://www.lfix.co.uk/oliver PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47 GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "I will praise thee; for I am fearfully and wonderfully made..." Psalms139:14
В списке pgsql-hackers по дате отправления: