newsysviews - newsysview: finally get around to qualifying pg_all_grants

From: andrewsn(at)pgfoundry(dot)org (User Andrewsn)
To: pgsql-committers(at)postgresql(dot)org
Subject: newsysviews - newsysview: finally get around to qualifying pg_all_grants
Date: 2005-05-13 03:41:59
Message-ID: 20050513034159.14A00112500C@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User Andrewsn 2005-05-13 03:45:06 newsysviews - newsysview: always use schema-qualification in function
Previous Message User Andrewsn 2005-05-13 02:01:57 newsysviews - newsysview: make build.sh a bit safer for users.