Hi, I’ve spent some days trying to get AAM to do what I need. I’m not sure whether it’s beyond the scope of the product or simply beyond my scope to configure 😃 I suspect (and hope) the latter.
I'm running AAM 6.4.3 with the Plus Package 5.3.4
I have a custom post type (documents) for which I have created three categories (taxonomies): region, type, and sectors. Each of these categories contain multiple terms. And each document is assigned to multiple terms.
E.g. Document 1 might be assigned to ‘Region>USA’, ‘Type>Product’, ‘Sector>A’
Document 2 might be assigned to ‘Region>Asia’, ‘Type>Service’, ‘Sector>B’
Etc., etc.
I’m then hiding all the documents by default, and adding roles for which I then unrestrict access to some terms,
e.g. Role USA might have access to USA from region and A,B and C from sectors
Role Asia might have access to Asia from region and C and D from sectors etc.
My issue is, I need a post to display only if ‘all’ terms match, e.g. if a role unrestricts 'Asia' and 'Sector A' I only want posts categorised as Asia and Sector A to appear.
However, what happens currently is that a post is returned if 'any' term has access.
e.g. my Asia role user has inherited the global restriction to all documents and I have then granted access only to region term Asia and sector term A.
But the Asia user can see all posts flagged as region Asia, including sectors B, C, D etc, as well as A. Yet in AAM they are set to have sectors B, C, D hidden.
Does that: a) make sense, and b) is there a way to achieve what I need?
Many thanks – this is driving me nuts 😃
Cheers, Tom