Subject | Re: [firebird-support] Privileges changes visibility |
---|---|
Author | Ann W. Harrison |
Post date | 2005-11-01T19:47:23Z |
Bambang P wrote:
second transaction which is committed on each statement.
propagating DDL changes to all active connections as would have been
good.
Regards,
Ann
> Will opened connection detect user privileges changes which happenedNo. They should, probably, but they don't.
> after the connection opened?
>OK>
> SQL> grant select on TBL to PUBLIC;
>
> 2. Run another ISQL and connect to the JUST_A_TEST, but now with
> user name other than SYSDBA. As expected, I can query the table TBL
> from this 2nd ISQL.
>Depends on the setting in ISQL. By default it runs DDL statements in a
> 3. Without closing the 2nd ISQL, switch back to the first ISQL and revoke
> the rights from PUBLIC:
>
> SQL> revoke all on TBL from PUBLIC;
> SQL> COMMIT;
> SQL>
>
> [Question: Is commit necessary here?]
second transaction which is committed on each statement.
>Not everyone who worked on InterBase and Firebird was as careful about
> 4. Switch again to the 2nd ISQL. Now, I expect the 2nd instance of
> ISQL will fails to query the table, because neither the user name nor
> public has any rights on table TBL. However, the 2nd ISQL still
> successfully query the table!!
propagating DDL changes to all active connections as would have been
good.
Regards,
Ann