cancel
Showing results for 
Search instead for 
Did you mean: 

Limit access to views using HANA roles

Former Member
0 Kudos

Hi all,

I started an UI5 application in the HANA Web IDE with this package structure:

myAapp

     .xsaccess

     .xsapp

     Component.js

     index.html

     services

          ...

     views

          normalUser.controller.js

          normalUser.view.xml

          admin.controller.js

          admin.view.xml


As you can see I have one view, which should only be accessable to users with a certain admin role (= admin.view.xml) in the HANA database. The other view (= normalUser.view.xml) could be executed by any HANA user.


What is the best way to limit the access to my admin view? I read about the .xspriviledges file. Is this the right way for me?

Thanks in advance for your help.

Best regards

Dan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

No ideas? Or is there a better way to structure the app to achieve this?