🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.opensource
Article #335

problem with procedure permissions

#335
From: Alejandro Alliana
Date: Fri, 29 Oct 2004 20:25
35 lines
2117 bytes
Hello:

I have a problem with permissions when a procedure is executed in a 
trigger.

The trigger belongs to table A, and updates tables B, C or D.

The role doesn't have permissions for update on tables B, C nor D but it 
   does on A.  I gave permissions to the procedure:

grant all on ordenes_compra to procedure sp_entrada_satisface_docs; //
grant all on ordenes_compra_detalles to procedure 
sp_entrada_satisface_docs;
grant all on pedidos_tesoreria to procedure sp_entrada_satisface_docs;
grant all on pedidos_tesoreria_detalles to procedure 
sp_entrada_satisface_docs;
grant all on transferencias_materiales to procedure 
sp_entrada_satisface_docs;
grant all on transferencias_mat_detalles to procedure 
sp_entrada_satisface_docs;

But I keep on getting the error:

This user does not have privilege to perform  this operation  on this 
object.  no permission for update/write access  to table ORDENES_COMPRA.

table ORDENES_COMPRA is updated by a trigger fired by the update on 
table ordenes_compra_detalles which is updated by the procedure I just 
gave permissions to update on both tables.

Any help would be appreciated.

I'm using interbase 6.01 opensource

aa
Technical Details
Message-ID: <4182a73c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 106772,75507ad41dcc763f,start
X-Google-Attributes: gid106772,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Fri, 29 Oct 2004 17:25:22 -0300
From: Alejandro Alliana <aalliana@roshka.com.py>
User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.interbase.opensource
Subject: problem with procedure permissions
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 200.85.41.186
Message-ID: <4182a73c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1099081532 200.85.41.186 (29 Oct 2004 13:25:32 -0700)
Lines: 35
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail