I am trying to create an app where a specific user gets specific functions of the app. I have no idea how to do so.
I want to give a password to a user (example: 1234) and when it is entered, he is able to access specific functions of the app and so on for the others.
Some help regarding the same would be much appreciated.
Looking forward to hearing back from someone who can help.
1-A table with the IDs, names and password
2- A table with the id, function name
3- A table with Id, User Id and Function Id
When a user enters the app [Update] take the fields from the online table and save their ( fields id and all id function in database local (Sqllite).
When the user is accessing a function, look in the Access table [Sqllite Local Table ] if the user id has this authorization (function id).
Thus, it is only necessary to change the bank that the administrator is giving or canceling access to.