Re: GRANT/REVOKE: Allow column-level privileges

From: "William ZHANG" <uniware(at)zedware(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: GRANT/REVOKE: Allow column-level privileges
Date: 2006-01-30 08:48:04
Message-ID: drkjrv$2dbl$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> 2. deal with circles in GRANT graph.
>
> Can you give an examle for how this is any different for column-level
> GRANTs?

When judging if there are any circles in the grant graph, we can represent
table priviledges as column priviledges, thus make things easier. I have not
think hard enought to figure out a better algorithm.

Another problem is, should we allow any circles to be formed when executing
GRANTs? Say:
<grantor1, grantee1, object1, priviledge1, with grant option>,
<grantee1, grantee2, object1, priviledge1, with grant option>,
<grantee2, grantor1, object1, priviledge1, with grant option>,
should the third GRANT be executed successfuly?
I remember that MSSQL 2000 and ORACLE 9i are different.

William ZHANG

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2006-01-30 09:25:39 Re: Want to add to contrib.... xmldbx
Previous Message Christopher Kings-Lynne 2006-01-30 08:44:21 Weirdness with =?