Skip to Content
avatar image
Former Member

Limit access to views using HANA roles

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Apr 14, 2016 at 12:21 PM

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

    Add comment
    10|10000 characters needed characters exceeded