Conditional Items in Dropdown List

HI, I am trying to limit the list of items that appear in a drop down based on user group. I have seen another topic on this but couldn’t make anything work.

I basically need to take a list that might be 10 items, but not show some of those items if the user does not have permission to see them (not in that group).

I am using this drop down as a filter in a list block. I have tried “global restrictions” but it does not change the items that appear in the drop down. If they click on an item in the drop down they do not have access to, the results will not appear, so that part is working.

I just dont want them to see the option in the list at all.

Can anyone help?

1 Like

Hi there, there are two ways to do this:

First, add the conditional filters to the listing block (takes care of most situations). Then implement Global restrictions for best protection. If it’s still showing after that, then your logic for your conditional filters or restrictions is not correct.

This should prevent from your user seeing that option in the list. Any more trouble, let me know.

Global restrictions are great solution for clients accessing a client portal so they only see for example records related to their company. It wasn’t a good solution for project managers dealing with different client but I just found out yesterday that we now can also condition the dropdowns in action buttons to make sure project managers only see services related to the client’s company, which is amazing and incredibly helpful!

This was already implemented in the forms but now we can also update records with the same conditioning. I wish the same conditioning functionality was available for list filtering - I’m sure Softr is working on that already :slight_smile:

1 Like

Yup, we are working on that =)