Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Cannot assign roles in HCP for XS apps

$
0
0

Dear All,

 

I am happy to join the community! I started evaluating HCP a short while ago and currently look into XS apps. To get started I followed this tutorial from the documentation: https://help.hana.ondemand.com/help/frameset.htm?3762b229a4074fc59ac6a9ee7404f8c9.html In addition I tired to link it to the HANA Dev Guide where possible.

 

The sample app works, but I noted that besides authentication there is no mechanism to restrict access in place, and for further evaluations this is important to me. So I consulted the dev guide and adapted the .xsaccess file to look like this:

{     "exposed" : true,     "default_file" : "hello.xsjs",     "authorization" : [       "s0008<XXXXXXX>0trial.myhanaxs.hello::Basic" //scrambled id     ] 
}

The change had the desired effect, my coworker could after authentication no longer look at the demo app. But sadly I got locked out too, besides following the tutorial. After searching SCN a little this page caught my attention: https://help.hana.ondemand.com/help/frameset.htm?2cb80530a7a748f792050730782f9bef.html

 

So I figured my user is missing the role defined in the XS app. I tried the following script (along with many others) but no rows were affected.

rolegranting.png

Variations on the username (S00.., s00, with suffix Trial, TRIAL, trial) had no effect either.

 

Can anybody point out what I am missing?

 

PS: With the popular "8 Easy Steps" steps tutorial I encounter the same problem...

 

Any help welcome!

 

Kind regards,

Julian


Viewing all articles
Browse latest Browse all 3285

Trending Articles



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