I'm trying to figure out security in HANA, but get stuck. My aim is to first create a user that only has read access to an analytic view. What I did was the following:
- Create a new user
- Grant SELECT rights to the schema where the data resides
- Create an analytical privilege on the content package and grant that to this user
- Grant the package privilege REPO.READ to this user.
I cannot get this to work. The user is not authorized to view data from the analytic view. The error:
sql processing error: createMaterializedSearchResult failed error SQL: insufficient privilege: Not authorized
This suggests to me that a temporary result must be stored somewhere and the user is not authorized to do so. What privileges does a read-only user need?
Paul Laman
Netherlands