Skip to main content

Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
fabricecallegar
Partner - Creator
Partner - Creator

Security rules, hide an application with custom property

Hello,

I want to hide an application published in a stream with a security rule.

The idea is to set a custom property (YES or NO) to the applications. If the CS is YES for the application then nobody can see the application in the hub/stream.

How can I do that ?

 

Regards

 

Labels (1)
2 Solutions

Accepted Solutions
abhijitnalekar
Specialist II
Specialist II

Hi @fabricecallegar ,

Please go through with the below link

https://www.youtube.com/watch?v=yaBfW2RtxGA&t=900s

Surely help you to achieve the required.

Regards,
Abhijit
keep Qliking...

View solution in original post

korsikov
Partner - Specialist III
Partner - Specialist III

For this you need to edit Stream Security rule.

For example

(resource.resourcetype = "App" and resource.stream.HasPrivilege("read") and resource.@DemoType.empty())

or ((resource.resourcetype = "App.Object" and resource.published ="true" and (resource.objectType != "app_appscript" or
resource.App.@ODAGTemplate = "true") and resource.objectType != "loadmodel")
and resource.app.stream.HasPrivilege("read")) 

And new rule for access

App_*

Read

resource.stream.HasPrivilege("read") and ((user.@DemoType=resource.@DemoType))

View solution in original post

4 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @fabricecallegar ,

Please go through with the below link

https://www.youtube.com/watch?v=yaBfW2RtxGA&t=900s

Surely help you to achieve the required.

Regards,
Abhijit
keep Qliking...
korsikov
Partner - Specialist III
Partner - Specialist III

For this you need to edit Stream Security rule.

For example

(resource.resourcetype = "App" and resource.stream.HasPrivilege("read") and resource.@DemoType.empty())

or ((resource.resourcetype = "App.Object" and resource.published ="true" and (resource.objectType != "app_appscript" or
resource.App.@ODAGTemplate = "true") and resource.objectType != "loadmodel")
and resource.app.stream.HasPrivilege("read")) 

And new rule for access

App_*

Read

resource.stream.HasPrivilege("read") and ((user.@DemoType=resource.@DemoType))

fabricecallegar
Partner - Creator
Partner - Creator
Author

Thank you for yours answers.

it seems to work. I wait a few days before closing the discussion.

korsikov
Partner - Specialist III
Partner - Specialist III

Of course it works. I do not offer untested solutions. :Р