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: 
kaldubai90
Partner - Contributor
Partner - Contributor

Stream And App Level Security Rule

Hi Qlikers, 

i have been trying to apply security rules on Stream and App Level, but i cant seem to get it working. 

this is what i have done:

1-Created Custom Properties:

    A.  Group : For Streams and users.

    B.  ApplevelMgmt: For Apps And users. 

2- Disabled Stream Default Security rule And Stream For Everyone 

 

3- Created Security Rules:

       a-Using Stream Template :

           ((user.@Group=resource.@Group)) 

         action ticked: Read 

        b.Using App Template:

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

            action ticked: Read 

the Above was created by the admin user and the version i am using is  Nov-19.

 

what possibly could be  done wrong!! 

Should i be using the service user 

 

@rohitk1609  i am tagging you bro cause you rock at this, maybe you can help in 

   

Stay Safe Stay Blessed.     

Stream Level.PNG

AppLevel.PNG

  

 

0 Replies