Home > Forum > General > How to hide dictionary values from specific users in a dropdown

How to hide dictionary values from specific users in a dropdown
0

Hi everyone,

I have a dictionary process where I assign values to specific attributes. Then I use the source containing all dictionary elements as the data source for an attribute, filtering the values based on another attribute specified on the dictionary item. These values are then available to users as a dropdown list.
However, I would like to make some of these values unavailable for certain users — in other words, specific users should not see or be able to select certain values from the dropdown.

I tried the following approach:
I created an action that grants read permissions on each dictionary item to domain users.
On the data source, I disabled the "Access to data in the context of the system account" option.

However, after doing this, users see "No matches found" instead of the available values.
Is there a recommended way to configure this so that the dropdown only displays the dictionary values that the current user is authorized to see?

Thanks in advance for any advice.

MVP

Hi,
That sounds strange. In my opinion, you're doing it right.
The method you described should work – adding domain groups to dictionary items means users can see ONLY the items they have permissions for.

I tested it, and that's exactly how it works – I can only see the items I have permissions for (the "Access to data in the context of the system account" option should be disabled, of course).

When you access a dictionary item in administrative mode, do you see the assigned AD group in the permissions section?