newsysviews - newsysview: finally get around to qualifying pg_all_grants

Started by Nonameabout 21 years ago1 messagescomitters
Jump to latest
#1Noname
andrewsn@pgfoundry.org

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)