Re: Role Self-Administration

Поиск
Список
Период
Сортировка
От Mark Dilger
Тема Re: Role Self-Administration
Дата
Msg-id 576BE406-869E-46B7-BEBB-15F46181BBD4@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Role Self-Administration  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers

> On Oct 7, 2021, at 7:44 PM, Stephen Frost <sfrost@snowman.net> wrote:
>
> I don't actually think REVOKE ROLE CASCADE must not fail, nor do I see
> that as explicit in anything you quote above.

I don't see that myself, but I thought that you would, given your other statements about how we shouldn't take a spec
requirementto do X and turn it into doing X+Y, because the user wouldn't be expecting Y.  So I thought that if DROP
ROLEbob was defined in the spec to basically just do REVOKE bob FROM EVERYBODY, and if the CASCADE version of that
wasn'tsupposed to fail, then you'd say that DROP ROLE bob CASCADE wasn't supposed to fail either.  (Failing is the
unexpectedaction Y that I expected your rule to prohibit.) 

—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company






В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: Re: should we allow users with a predefined role to access pg_backend_memory_contexts view and pg_log_backend_memory_contexts function?
Следующее
От: wenjing
Дата:
Сообщение: Re: [Proposal] Global temporary tables