Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

SAP HANA XS Authorization - xsprivileges & xsaccess

$
0
0

Dear all,

 

In our scenario, I have a XS Project and under that multiple UI5 projects as structured below.

Package Hierarchy:

XYZ (Package)

     XS1 (XS Project) -- .xsapp, .xsaccess, .xsprivileges

          UI5X (UI5 Project)

          UI5Y (UI5 Project)

          Common (Images etc)

 

I have defined two privileges in the .xsprivileges file and assigned it to the user and are able to execute both UI5X & UI5Y projects.

 

But I need to control the authorization based on types of users.

For Eg.

User1 to access only to UI5X

User2 to access only to UI5Y

 

Q1. Can I create .xsprivileges file in both UI5X & UI5Y project package and then define it in the .xsaccess (XS1 Package)?

Q2. Is it right approach to have multiple UI5 projects under one XS project?

Q3. Is the privileges defined in the example like "Execute" or "Admin" is just a name or refers to system actions? Can I use anything else like for eg."MYPRIVILEGE1" etc.?

delete1.png

Thanks,

Chathia.


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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