Role condition multi filter and search input

Hi there

I'm trying to get back to learn xano (i have been working with bubble for years) and im a beginner, so im sure the two questions i have below will be easy for you, but i guess it s in the process of learning to ask on a forum ^^


I have 2 main questions for you to help me please :

  • Regarding the role based access, I understand this, no problem https://docs.xano.com/building-features/role-based-access. Now, the use case is the following : lets say i have a table 'contacts' and a table 'users' users have two roles (admin and sales), an agency location and contacts have a field 'agency location'. I want the user when query records to only be able to get only the contacts that are from its agency. How can I make it work ? do you have any link / ressources to share ?
  • Input value : I m almost ok as well with the search process. However, when creating an input 'search' on the API and query all records, when i run this, results are 0, since its waiting for a search input. How can i add a condition to this ? (to run the query even if the input is not filled.

My final objective is to use xano for some of my bubble apps


thank you in advance

5 replies