Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

stvegerton
Contributor III

Security rule for restricting the duplicating of apps based on ownership?

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)

3 Replies

Re: Security rule for restricting the duplicating of apps based on ownership?

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.


talk is cheap, supply exceeds demand
Not applicable

Re: Security rule for restricting the duplicating of apps based on ownership?

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

stvegerton
Contributor III

Re: Security rule for restricting the duplicating of apps based on ownership?

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.

Community Browser