How to distinguish admin users from normal users?
Mohammad Aziz
Posted on February 23, 2019
Almost every platform that has been created they have the need of users with more than one "type".
- One which are actual users with normal privileges. The USERS.
- And the ones who have special privileges. The ADMINS.
Admin users have special privileges that only they should have and not anyone else. Otherwise, if one user can manipulate data of another without there consent then the platform is a mess.
I found it always challenging to design a single database with solves the need of both users.
- Should I have a
type
of the user stored in my database? - Should the first user who has registered on the platform would be the "admin user"?
I want to come to a collaborative conclusion about what is a better approach and why?
💖 💪 🙅 🚩
Mohammad Aziz
Posted on February 23, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.