BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view

Поиск
Список
Период
Сортировка
От Wetmore, Matthew (CTR)
Тема BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view
Дата
Msg-id d4ea4f8641a8486e899a3a4f42447ba4@evernorth.com
обсуждение исходный текст
Ответ на Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-bugs
> I guess we need to allow creating such internal temporary tables, 
> despite the missing permission. That'll need some careful analysis to 
> make sure we don't accidentally allow creating other temporary tables...

Wouldn't it be sufficient to document that fact, perhaps add an error hint and require the MV owner to have TEMP on the
database?

That's not an outrageous requirement, and it couldn't open any security back doors.


Agree. We already have to create a new user (well, that’s what I do) for MV's anyway for the REFRESH by owner only, it
wouldnot be a burden to adjust that ROLE's settings at time of creation.  The doco is completely clear about MV owner,
wecan just add to that note to make sure CREATE permission too.
 


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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #18387: Erroneous permission checks and/or misleading error messages with refresh materialized view