Subject | Re: must I grant select in order to DELETE ... WHERE, |
---|---|
Author | miloshd2003 |
Post date | 2005-03-01T20:18:32Z |
--- In firebird-support@yahoogroups.com, "Ann W. Harrison"
<aharrison@i...> wrote:
that such views can not be updateable. OK, I will try something.
Regards,
Milos
<aharrison@i...> wrote:
> miloshd2003 wrote:allow
> >
> > Do I have to grant SELECT permission on a table T in order to
> > the user to execute:any
> >
> > DELETE FROM T WHERE ID=5
> >
> > I can wipe the table (DELETE FROM T), but if I try to reference
> > fields, FB complains (see below)... BTW, user sees the datathrough a
> > view, but the view references several tables and thus isn'tupdateable. The
> > updateable.
>
> As people have no doubt told you, you can make the view
> reason for requiring select privilege on a searched delete is thatthe
> delete could be used to probe data. A sequence like this:Thanks for replying. The view references several tables and I thought
>
> select count (*) from employees;
>
> delete from employees where name = 'Ann' and salary > 20000;
>
> select count (*) from employees;
>
> rollback;
>
> delete from employees where name = 'Ann' and salary > 10000;
>
> etc.
>
> Ann
that such views can not be updateable. OK, I will try something.
Regards,
Milos