newsysviews - newsysview: finally get around to qualifying pg_all_grants - Mailing list pgsql-committers

From andrewsn@pgfoundry.org (User Andrewsn)
Subject newsysviews - newsysview: finally get around to qualifying pg_all_grants
Date
Msg-id 20050513034159.14A00112500C@pgfoundry.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
finally get around to qualifying pg_all_grants correctly. We show a
grant if any of these is true:
  - current_user is a superuser
  - the grantor is current_user
  - the grantee is current_user
  - the owner of the object is current_user
  - the grantee is "public"
  - the grantee is a group of which current_user is a member

Modified Files:
--------------
    newsysview/sql:
        grant.sql (r1.5 -> r1.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/newsysviews/newsysview/sql/grant.sql.diff?r1=1.5&r2=1.6)

pgsql-committers by date:

Previous
From: andrewsn@pgfoundry.org (User Andrewsn)
Date:
Subject: newsysviews - newsysview: make build.sh a bit safer for users.
Next
From: andrewsn@pgfoundry.org (User Andrewsn)
Date:
Subject: newsysviews - newsysview: always use schema-qualification in function