Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
TingtingLiu
Partner - Contributor II
Partner - Contributor II

Restricting user access per sheet level

I'm trying to restrict the user access to specific sheets, and I tried to create the security rule like the screenshot shows, but it doesn't work.

And I also tried to following the instruction from Sheet or App Object Level Security Qlik Sense - Qlik Community - 1485114, but it also not works.

Is there any suggestion can be provided to get it done? Thank you.

TingtingLiu_0-1785467809604.png

 

Labels (1)
1 Solution

Accepted Solutions
BIAKS
Creator
Creator

I am using these 3 rules for access management, the company doesn't require sheet level access so I give them access to all sheets if they see the app:

BIAKS_0-1785754072560.png

Stream Level:

BIAKS_1-1785754109282.png

App level:

BIAKS_2-1785754139797.png

Sheet Level:

BIAKS_3-1785754170383.png

Example User:

BIAKS_4-1785754205812.png

Example app:

BIAKS_5-1785754253269.png

 

 

View solution in original post

21 Replies
BIAKS
Creator
Creator

You can do it like below with custom properties, create new '@Sheet_Level' for each sheet you want to give access and be sure they are the exact same text with the sheet name:

BIAKS_0-1785478398122.png

 

 

BIAKS
Creator
Creator

you can also use below code for app level access by giving the app and the user same '@App_Level' custom properties:

BIAKS_0-1785478722798.png

 

BIAKS
Creator
Creator

If you dont want to manually add all sheets for a user you can also add below code after

'resource.name = user.@Sheet_Level'  and make the user's '@Sheet_Level' same as '@App_Level' and they will see all the sheet in the app:

or resource.app.@App_Level = user.@Sheet_Level

 

TingtingLiu
Partner - Contributor II
Partner - Contributor II
Author

Thank you for the suggestion.

I tried to use the custom properties, and create the security rule like below, but the user not able to see the App, is anything I did wrong?

TingtingLiu_0-1785479528884.png

 

BIAKS
Creator
Creator

can you change 'App_*' to 'App*' and try again?

TingtingLiu
Partner - Contributor II
Partner - Contributor II
Author

It's same, user cannot see the App

BIAKS
Creator
Creator

Does user see the stream?

TingtingLiu
Partner - Contributor II
Partner - Contributor II
Author

No, the stream is not able to see by the user. so it's the problem? Any suggestion on it?

BIAKS
Creator
Creator

did you setup a stream level security rule? If not, you can do something like below:

BIAKS_0-1785482396667.png