Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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...
Help users find answers! Don't forget to mark a solution that worked for you!

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...
Help users find answers! Don't forget to mark a solution that worked for you!
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. :Р