Re: proposal: hide application_name from other users - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: proposal: hide application_name from other users
Date
Msg-id 20140122010051.GT31026@tamriel.snowman.net
Whole thread Raw
In response to Re: proposal: hide application_name from other users  (Josh Berkus <josh@agliodbs.com>)
Responses Re: proposal: hide application_name from other users  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
* Josh Berkus (josh@agliodbs.com) wrote:
> It would be really nice to be able to GRANT/REVOKE on some of these
> special system views ...

Well, we actually *can* issue grant/revoke against the underlying
function calls, but we are also doing permissions checks *in* those
functions, ignoring our own GRANT system.

Don't know what folks think of removing those in-the-function checks in
favor of trusting the grant/revoke system to not allow those functions
to be called unless you have EXECUTE privileges on them..  I've not
really tried to look at if that'd work or not, but if we could do that,
it'd certainly give admins a great deal more flexibility to control who
has access to what calls.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Hard limit on WAL space used (because PANIC sucks)
Next
From: Andres Freund
Date:
Subject: Re: proposal: hide application_name from other users