I'm trying to create a Dynamics 365 model-driven app for a particular, segregated set of tasks, and I was wondering if it's possible to specify data filters on entities at the model-driven app layer, so that Contacts which have a certain value in a field are displayed within the Contacts section of the app, but any without that value are not sent to the user.
For example, say I have Contacts who can either be Customers or Staff, as determined by a field on the Contact entity, and I want to create a model-driven app around timetable rotas for members of staff. In this app, for a given rota slot, you should be able to specify which member of Staff will be working, but obviously we do not want Customers being specified here! And given that the app is completely unrelated to Customers, it would make sense to never have Customers appear when looking at this entity within this app/only show Contacts with the field set to "Staff". Is this possible?
Views on Tables do not restrict the users from changing the view and then being able to see and link to the wrong Contacts from within the app, so this is unfortunately not a solution.
Security also isn't a solution to this issue, as some users may have access to both this app and other apps where all users should be visible, so they would be able to see and link to all Contacts when they were using the app.
Thanks in advance!