Re: GRANT ON ALL IN schema
| От | Tom Lane |
|---|---|
| Тема | Re: GRANT ON ALL IN schema |
| Дата | |
| Msg-id | 7045.1246979795@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: GRANT ON ALL IN schema (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: GRANT ON ALL IN schema
Re: GRANT ON ALL IN schema |
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> I would like to see
> GRANT ... ON ALL OBJECTS ...
This seems inherently broken, since different types of objects
will have different grantable privileges.
> (I'm sure we can do something intelligent with privileges that don't
> apply to all object types rather than just fail. e.g. UPDATE privilege
> should be same as USAGE on a sequence.)
Anything you do in that line will be an ugly kluge, and will tend to
encourage insecure over-granting of privileges (ie GRANT ALL ON ALL
OBJECTS ... what's the point of using permissions at all then?)
regards, tom lane
В списке pgsql-hackers по дате отправления: