We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Submitted by: eXandr (i.reg)
Is related to QA495
In execute statement the "with caller privileges" option doesn't work with "with autonomous transaction" option
Commits: a935f95 660fa3b
The text was updated successfully, but these errors were encountered:
assignee: Vlad Khorsun [ hvlad ]
Sorry, something went wrong.
status: Open [ 1 ] => Resolved [ 5 ]
resolution: Fixed [ 1 ]
Fix Version: 2.5.2 [ 10450 ]
Fix Version: 3.0 Alpha 1 [ 10331 ]
Version: 2.5.0 [ 10221 ]
Version: 3.0 Initial [ 10301 ]
summary: with caller privileges option dont work with autonomous transaction option => with caller privileges option don't work with autonomous transaction option
Commented by: @hvlad
Simple test case
gsec -add vlad -pw v
isql -user SYSDBA -pass masterkey
create table t (id int);
set term ^ ;
create procedure p
execute statement 'insert into t values(current_transaction)'
with caller privileges
with autonomous transaction;
grant all on table t to procedure p^
grant execute on procedure p to user vlad^
isql -user vlad -pass v
execute procedure p;
Statement failed, SQLSTATE = 28000
no permission for insert/write access to TABLE T
-At procedure 'P' line: 2, col: 3
Link: This issue is related to QA495 [ QA495 ]
status: Resolved [ 5 ] => Resolved [ 5 ]
QA Status: Done successfully
Commented by: @pcisar
status: Resolved [ 5 ] => Closed [ 6 ]
No branches or pull requests