animalaidunlimited / apoms

2 stars 0 forks source link

User Roles #146

Open sqljim opened 3 years ago

sqljim commented 3 years ago

The admin should have the ability to restrict users to either read-only or write access to the certain areas of the application.

The admin should also be able to lock down which areas of the application the user can see in the nav bar and which routes can be activated.

The user admin page should only be accessible to admins.

The user admin page should have a tree of the pages in the application and whether or not the user has read or write access to that page.

We can store the user rights in a JSON object inside the database.

E.g.

The admin should be able to set User A to have write acccess on the Emergency Register, read access on the Hospital Manager and no access to the census.