开发者

How to keep the PostgreSQL "System Administration/Information functions" from read-only users

开发者 https://www.devze.com 2022-12-07 20:02 出处:网络
In my case, a read-only user can perform the "System Administration/Information functions".

In my case, a read-only user can perform the "System Administration/Information functions".

I tried to restrict those functions by hard-coding that in my code. But that cannot be a proper solution, since there can be new such functions in future rele开发者_运维问答ases of PostgreSQL, or functions may get renamed.

So I need to get those functions dynamically. Is there a way to determine which function belong to the "System Administration/Information functions", or how to restrict access to them for a read-only user?

0

精彩评论

暂无评论...
验证码 换一张
取 消