Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10548

Re: createMaterializedSearchResult failed error SQL: insufficient privilege

$
0
0

Reading through all the responses - these are very helpful. However, it looks like no one has mentioned that system user _SYS_REPO must have SELECT access that is -grantable- on the schema(s) of the data you are exposing in the analytic view. Otherwise, what you have shown looks like it will work.

 

Have gotten burnt on this one before, the user that actually is executing the model is _SYS_REPO, and he needs to be able to pass the SELECT privilege onto the user who is invoking (ie you) the model (grantable).

 

The following are bare minimum privileges for a user attempting reading the models.

Granted Roles: PUBLIC, comes by default

Object Privileges: SELECT/EXECUTE on _SYS_BIC and _SYS_BI

Analytic Privileges: _SYS_BI_CP_ALL unless further row level restriction is required. I would try to make this work before adding more authorizations.

 

This authorization is required for _SYS_REPO

Object Privileges: SELECT on <SCHEMA>, checkbox grantable

 

Package privileges and REPOSITORY_REST are actually not required, unless the user needs to browse within HANA Studio.

 

Regards,

Justin


Viewing all articles
Browse latest Browse all 10548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>