Subject | RE: Re: [firebird-support] Reference |
---|---|
Author | Helen Borrie |
Post date | 2004-11-29T00:29:35Z |
At 05:58 PM 28/11/2004 -0500, you wrote:
./hb
>:: >The name of the privilege is REFERENCES. It's required ifNo. You have to explicitly grant SELECT (and other rights) to a table.
>:: the table to
>:: >which you are granting any other privileges has a foreign key to
>:: >another table to which the user does not have privileges.
>:: You grant
>:: >the REFERENCES on the table that is referred to by
>:: REFERENCES in the foreign key constraint.
>
>Ok - but this doesn't allow the user to select data via tha FK right?
>It only allows the FK to "Exist" in a table that the user selects from?Yes.
>If they don't have this priv and they select data from a table with an FKYes.
>to it, it
>trips?
>Does granting select also "include" references?No.
>That is if I grant select, do I need to grant references too?Yes, if the user has not acquired any other privileges to the referenced table.
./hb