Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

Security Rule to hide/show streams

Hello Qlik_sters
I'm working on Qlik Sense Aug 2022 version
I need to create a security rule to hide / show a stream based on the value of a custom property (common to users and streams)
what I did is the following:
first I'm rootAdmin
I created a custom property named Stream_Access that is applicable to both users and streams, and I added 3 values HR, Marketing, and Finance
I created a stream named Marketing and I gave it Marketing under Stream_Access
Now I have 2 users U1, and U2 and both I gave them Marketing under Stream_Access

Now I created a new security rule with Resource Filter = Stream_* and in the definition I added the following line:
user.@Stream_Access = #Stream.@StreamAccess 
I disable the default security rule named Stream

but none of the users see the stream
is there something I need to do to make this security rule functions as expected?

I can walk on water when it freezes
Labels (1)
2 Replies
Or
MVP
MVP

Do the users have access to any apps within this stream? Since empty streams are now hidden by default, users need access to at least one app within the stream in order to see the stream (unless you've disabled Hide Empty Streams).

ali_hijazi
Partner - Master II
Partner - Master II
Author

I updated this line in the compatibility.json
I updated the HUB_HIDE_EMPTY_STREAM to false
and now only stream owners see their streams
but the security rule is not working

I can walk on water when it freezes