To restrict the records that a user can see in an application,
you add a query to the application. To restrict the data that users
see for a control, you add the allowqualifiedrestriction property
to the XML for a control in an application
Creating application restrictions
You add a query to an application to restrict the records
that a user can see. To hide inactive users in the Users application
for example, you use the query "status != ’INACTIVE’". You create
restrictions for power applications and single-page applications in
Application Designer.
Restricting data
You add the allowqualifiedrestriction property
to the XML for an application to restrict the data that is returned
from the database. You can add the restriction when data is shown
but not used for calculations. You can add the restriction for data
that is used to route a process through steps. You can also restrict
the records that are returned when using lookups.