
| Key: |
CORE-3799
|
| Type: |
Bug
|
| Status: |
Resolved
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Vlad Khorsun
|
| Reporter: |
eXandr
|
| Votes: |
0
|
| Watchers: |
2
|
|
If you were logged in you would be able to see more operations.
|
|
|
| Planning Status: |
Unspecified
|
|
In execute statement the "with caller privileges" option doesn't work with "with autonomous transaction" option
|
|
Description
|
In execute statement the "with caller privileges" option doesn't work with "with autonomous transaction" option |
Show » |
|
gsec -add vlad -pw v
isql -user SYSDBA -pass masterkey
create table t (id int);
set term ^ ;
create procedure p
as
begin
execute statement 'insert into t values(current_transaction)'
with caller privileges
with autonomous transaction;
end
^
grant all on table t to procedure p^
grant execute on procedure p to user vlad^
exit^
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