How can I restrict specific users from viewing specific records of a module

Hi all

I have an interesting use case.
if I have a Customer module and that module has a field called City the thing is that I want some users only to view records with a specific value of the City field

is that achiable in Corteza ?
and if it’s not, is there a workaround solution for such case?

thanks

Would contextual roles work here?

Hi @tjerman

I am not able to understand how contextual roles will solve this issue, can you please guide me how to use them as I am building an application where I want the users to view only their records that they have added not others records and only the administrators can view all the records which are being added.

This how the records are viewed and as you can see all the users can all the records which are being added. Please let me know how I can restrict the view.

Requesting your help

This comment will help: How to make a user have permission to edit the record that he is responsible for?