Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: [HACKERS] n...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3443 of 4253
Post > Topic >>

Re: [HACKERS] new warning message

by bruce@[EMAIL PROTECTED] (Bruce Momjian) Mar 3, 2008 at 02:17 PM

--ELM1204571866-1879-1_
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"

Tom Lane wrote:
> Jeff Davis <pgsql@[EMAIL PROTECTED]
> writes:
> > Would it be reasonable to throw a warning if you revoke a privilege
from
> > some role, and that role inherits the privilege from some other role
(or
> > PUBLIC)?
> 
> This has been suggested and rejected before --- the consensus is it'd
> be too noisy.
> 
> Possibly the REVOKE manual page could be modified to throw more stress
> on the point.

Agreed, patch attached and applied.

-- 
  Bruce Momjian  <bruce@[EMAIL PROTECTED]
>        http://momjian.us
  EnterpriseDB                            
http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

--ELM1204571866-1879-1_
Content-Transfer-Encoding: 7bit
Content-Type: text/x-diff
Content-Disposition: inline; filename="/rtmp/diff"

Index: doc/src/sgml/ref/revoke.sgml
===================================================================
RCS file: /cvsroot/pgsql/doc/src/sgml/ref/revoke.sgml,v
retrieving revision 1.46
diff -c -c -r1.46 revoke.sgml
*** doc/src/sgml/ref/revoke.sgml	30 Oct 2007 19:43:30 -0000	1.46
--- doc/src/sgml/ref/revoke.sgml	3 Mar 2008 19:16:38 -0000
***************
*** 92,98 ****
     <literal>PUBLIC</literal>.  Thus, for example, revoking
<literal>SELECT</> privilege
     from <literal>PUBLIC</literal> does not necessarily mean that all
roles
     have lost <literal>SELECT</> privilege on the object: those who have
it granted
!    directly or via another role will still have it.
    </para>
  
    <para>
--- 92,101 ----
     <literal>PUBLIC</literal>.  Thus, for example, revoking
<literal>SELECT</> privilege
     from <literal>PUBLIC</literal> does not necessarily mean that all
roles
     have lost <literal>SELECT</> privilege on the object: those who have
it granted
!    directly or via another role will still have it.  Similarly, revoking
!    <literal>SELECT</> from a user might not prevent that user from using
!    <literal>SELECT</> if <literal>PUBLIC</literal> or another member****p
!    role still has <literal>SELECT</> rights.
    </para>
  
    <para>

--ELM1204571866-1879-1_
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


--
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your Subscription:
http://mail.postgresql.org/mj/mj_wwwusr?domain=postgresql.org&extra=pgsql-patches

--ELM1204571866-1879-1_--
 




 1 Posts in Topic:
Re: [HACKERS] new warning message
bruce@[EMAIL PROTECTED]   2008-03-03 14:17:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Dec 5 5:21:16 CST 2008.