Subject | Re: [IBO] TIB_Cursor, a stored procedure and rights. |
---|---|
Author | Bert Neef |
Post date | 2002-07-04T08:00:46Z |
HI,
create a view that only displays rows which "belong" to the current user
(one column will be the user id). which is what I am trying to do with the
SP's.
> >I have a TIB_Cursor which does a select on a stored procedure. this workswell that's possible for part of the problem. but I am not sure I can
> >perfectly when I execute it as sysdba. Well I don't want the regular
> user to
> >have access to the table so I granted the select right on that table to the
> >stored procedure, the execute right on the procedure to the role the user
> >assumes.
>
>and later
>
> >so there's no way to get a selection from a table without the user having
> >sufficient rights to that table?
>
>and Jason replied:
> >Unfortunately this appears to be a limitation of InterBase.
>
>Surely it must be possible to create a view, give the role rights to that
>view and let the stored procedure operate upon the view?
create a view that only displays rows which "belong" to the current user
(one column will be the user id). which is what I am trying to do with the
SP's.