Quantcast
Viewing all articles
Browse latest Browse all 73760

Problem Building Query to implement XDS Policy.

Hi!

I'm trying at the moment, to establish a Policy linked to a User Role and I have some trouble understanding how to do it right.

I have three tables (important fields are in parenthesis)

T1: A table containing Form Data like the Prospects Table. (RecId)

T2: A Relationship Table that links T1 to T3 (T1RecId | T3RecId )

T3: A Category table (Nameof | RecId)

 

I have a form where T1 elements are listed. I would like my user role to ONLY be able so see the T1 elements where T3.Nameof = "ADR"

 

To that end, I have created a Query and a Policy and I think i am doing it all wrong. At the moment, I have access to all T1 elements but if the Category isn't named ADR, it will not show any category in the field nor the elements associated to it.

 

Here is What I've done so far: Image may be NSFW.
Clik here to view.

 

All fields are set to Dynamic : Yes

EcoResCase and EcoCase Relations are set to Yes and Join Mode: InnerJoin

The Range: Name has the value: ="ADR"

 

Regarding the Policy:

Primary Table: CaseDetailBase

Query: aaTESTSECURITE (above)

ConetextType: RoleName (to apply the policy to the role),

 

As for the constrained Tables I didn't know what to pick, I used:

Table: EcoResCaseCategory

Table Relation: CaseDetailBase

 

I could really use some help on this one, not only am I not building the Querry Right, but I have no idea what i'm doing with the Constrained Tables in the Policy. Any help even poiting to something else than the WhitePaper about XDS and Organisation security would be great.

 

Thanks!


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>