How do I setup Authentification for defined views?

Hey,

I need your help in order to authenticate users in the correct way.

My App (Package tracking app) authenticates users via Microsoft Azure (SAP BTP). As far as I understand, I can get the username of the authenticated user.
I could save this user in an app variable and use it to filter lists.

If I have several views in my app, for example

  • one view for people who are allowed to track/ update a package
  • one view for people who want to receive the package

How can I make sure that just the package receiver sees his own packages? Is there any way, that the receiver only sees the “receiving view” and not the “update /track package view”?

Thanks for your responses!
Lars