Hi Vlado,
I run into the same issue as Roberto. Please note that I'm using hanatrial. When I run:
call "HCP"."HCP_GRANT_ACTIVATED_ROLE"('p598692trial.helloworld.sample::model_access');
on the SQL console then I get the error:
Could not execute 'call "HCP"."HCP_GRANT_ACTIVATED_ROLE"('p598692trial.helloworld.sample::model_access')' in 4.192 seconds .
[129]: transaction rolled back by an internal error:
[129] "HCP"."HCP_GRANT_ACTIVATED_ROLE": line 26 col 3 (at pos 1395):
[129] (range 3): transaction rolled back by an internal error: transaction rolled back by an internal error:
[129] "HCP"."SYNCHRONIZE_HCP_ROLES": line 29 col 12 (at pos 1727):
[129] (range 3): transaction rolled back by an internal error: transaction rolled back by an internal error:
[129] "HCP"."SYNCHRONIZE_HCP_ROLE": line 51 col 4 (at pos 2943):
[129] (range 3): transaction rolled back by an internal error: user-defined error:
[10001] "HCP"."DEPENDENCY_VALIDATOR": line 90 col 9 (at pos 4690):
[10001] (range 3) user-defined error exception: Checking object: schema: DEV_7ERTMBUQ37E9XVFYFI7QXYOA0,
object: p598692trial.helloworld.sample.data::mytable.
User DEV_7ERTMBUQ37E9XVFYFI7QXYOA0 is not authorized for:
Object: p598692trial.helloworld.sample.data::mytable
Schema: DEV_7ERTMBUQ37E9XVFYFI7QXYOA0 Type: TABLE
hope you can help.
Best regards
Gregor