- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 12:46 AM
I've a catalog item for which the "Available For" and "Not Available For" values are as follows:
The user criteria record is as follows:
You can see that I'm defaulting it to "false", which means any user trying to access the item should not be able to. I then tried testing it via the "User Criteria Diagnostics" module and found the following result:
Why does it say that the user "Can view" the catalog item when the criteria says "false"?
I tried:
- Using cache.do
- Logging out and logging back in
But still got the same result.
What am I missing here?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:50 AM
Hi,
Doesn't Not available for == False means it is available? You need to reverse the logic.
Regards,
Niklas

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:50 AM
Can you replace line 1 as below
answer=checkUser();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 01:57 AM
Tried that as well. No luck.