Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
somenathroy
Creator III
Creator III

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

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

2 Replies
lakshmikandh
Specialist II
Specialist II

"or resource.resourcetype="App.object" " this should allow you to view all sheets. Is all sheets of that app are published ?check in QMC app objects tab?

somenathroy
Creator III
Creator III
Author

Only one sheet named 'Dashboard' been created within that app and published successfully in a stream.