Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Trying to control the duplication of apps based on ownership using the syntax below. It does not work. Any advice?
Action = Create
Resource filter = App_*
!user.IsAnonymous() and (user.@holx_user_type="developer") and (resourse.IsOwned() and resource.owner = user)
Security rules are additive. A rule can never remove a privilege granted by another rule. Make sure there are no other rules active that grant the privileges you want to restrict with the rule you created.
I have a short video on this. Let's see if it covers your use case.
QMCAppExportVsCreate.mp4 - Google Drive
gwassenaar is correct though, you need to see what rules grant more permissions and pair them back / disable / recreate to get to the specifity you want.
jg
Thanks for the quick responses. The key issue I'm having is with the syntax of ownership when it comes to duplicating apps. I'm able to grant the authority to create apps based on user custom properties ok.
gwassenaar: We only have one rule that grants the authority to create apps. I should have worded my post as "Need a security rule to allow for duplicating only the apps that a user owns."
Thanks for the video jg, it doesn't touch on resource ownership, which I believe is where my rule fails. But I always learn something when I see how others build rules.