Skip to Content

How can I grant PUBLIC access to my HANA XS application on HCP?

I created my own web application hosted on HCP as HANA XS package and after creating a role with access rights and assigning it to my user as described on help.hana.ondemand.com I was able to access it.

As the next step I would like to make it publicly available. I managed to provide SELECT rights on my schema to PUBLIC via the SQL console. But when I tried to grant application privileges to PUBLIC (via the systems view) I got an error message telling me that I don't have the necessary authorizations. Does anybody know how to solve this instead?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 06, 2014 at 04:02 PM

    In the documentation I just found that it is possible to grant roles to HCP_PUBLIC (which is assigned to "end users" by default) using

    call "HCP"."HCP_GRANT_TO_PUBLIC_ROLE"('xyz.xyz::app_access')

    I tried this with the role I successfully assigned to myself before, but even though it did not throw an error still the access is blocked for anybody else.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.