2 Replies Latest reply: Dec 20, 2016 3:00 AM by Some Nath Roy RSS

    how to get all objects of an published app by Security rules

    Some Nath Roy

      Hi,

       

      My requirement is to allow access to a particular user to a published app and also that user be able to add/modify/delete sheets/objects to that published app.

      For that have created  two security rules:

       

      Rule 1:

      (resource.resourcetype="Stream" and (resource.@CP_ByArea=user.@CP_ByArea ) )

       

      with Create, Read, Update actions checked

       

      Rule 2:

      ((resource.resourcetype="App" or resource.resourcetype="AppOobject" )

      and resource.published ="true"

      and resource.stream.HasPrivilege("read")

      and (resource.@CP_ByArea=user.@CP_ByArea ) )

       

      with Create, Read, Update actions checked

       

      Also assigned the same value of @CP_ByArea to that Stream, App and User.

       

      As a result that particular user is getting that published stream and app, but could not see any sheets as original published app contained. User is able to add new sheets.

       

      Can anyone please add how to get all sheets and charts of an published app by security rule.

       

      Regards,

      Som