hi all!<br>
<br>
panorama5=> select version();<br>
version<br>
------------------------------------------------------------------------<br>
PostgreSQL 8.1.0 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.3<br>
(1 row)<br>
<br>
Maybe I do something wrong, but...<br>
<br>
I have a table WORKSPACE. Then I create group and grant select to it. Then I create user and add the user to the group:<br>
<br>
panorama5=> create role WsSelector INHERIT;<br>
CREATE ROLE<br>
<br>
panorama5=> grant select on workspace to WsSelector;<br>
GRANT<br>
<br>
panorama5=> create user the_user;<br>
CREATE ROLE<br>
<br>
panorama5=> grant WsSelector to the_user;<br>
GRANT<br>
<br>
So, the_user can select rows from WORKSPACE. Next, I want to revoke select from the_user, but still hold it in group WsSelector.<br>
<br>
panorama5=> revoke select on workspace from the_user;<br>
REVOKE<br>
<br>
I expect that the_user will cannot select from WORKSPACE, but it can! What's wrong?<br>
<br>
Thanks in advance<br>
<br>
Sergey Karin<br>