cancel
Showing results for 
Search instead for 
Did you mean: 

how to give the end user roles in SAP HANA CLOUD APPLICATION

Former Member
0 Kudos

HI

we are developing a application in cloud by using web ide/eclipse, how we give roles and privileges to end users for accessing the application

Thanks & Regards

megha

Accepted Solutions (1)

Accepted Solutions (1)

chandan_praharaj
Contributor
0 Kudos

Hi Megha,

If you have not created xsprivileges and xsaccess file, create as below in your package hierarchy.


Below Is one example for package hierarchy abc.def.ghi.jkl.mnop

You can create a .xsprivileges file like

{
"privileges": [
{
"name": "Access",
"description": "My xsaccess as Access"
}
]
}

You can create a .xsaccess file with

{
"exposed": true,
"authorization": [
"abc.def.ghi.jkl.
mnop::Access"
]
}

Create a Z_Role.hdbrole and go to application privileges

select  abc.def.ghi.jkl.mnop::Access, and assign that role to user. Repeat the same for all the package with UIS artifacts also, such as appsite and xswrdgit etc.

That will work.

Answers (0)