I am creating my first application and I need to set different permissions for users. The application considers the following levels:
Where the company will be the central office and may have more branches. The controls correspond to a list of tasks that are executed in all the companies and branches (some task can be eliminated according to the needs of the branch). The tasks are performed by a designated user, the user can perform tasks for a single company and its branches.
How do I establish the relationship between the databases so that the application works as described?
Thank you very much!!!