Re: [EXAMPLE] Overly zealous security of schemas...

Поиск
Список
Период
Сортировка
От Sean Chittenden
Тема Re: [EXAMPLE] Overly zealous security of schemas...
Дата
Msg-id 20030426223408.GF35599@perrin.int.nxad.com
обсуждение исходный текст
Ответ на Re: [EXAMPLE] Overly zealous security of schemas...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [EXAMPLE] Overly zealous security of schemas...
Список pgsql-hackers
> > And actually, it looks like sequences have this same problem as
> > well, only things are slightly worse there: you have to grant
> > SELECT,UPDATE to a sequence to the public in order for those to
> > work automagically. :-/
> 
> That's always been true though.

True, but while we're on the topic, I figured I'd give things a shot
in the, could this be fixed dept.  Inserting into a view with a rule,
the resulting query is run as the rule executor, not as the rule
definer.  If that were somehow possible, then it'd remove the need to
have a rule rewrite the (insert|update|delete|select) into a function
call running at the privs of its definer and writing the functions
that run at an elevated user.

-sc

-- 
Sean Chittenden



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [EXAMPLE] Overly zealous security of schemas...
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: conflicting libraries at runtime