How to distinguish admin users from normal users?

iaziz786

Mohammad Aziz

Posted on February 23, 2019

How to distinguish admin users from normal users?

Almost every platform that has been created they have the need of users with more than one "type".

  1. One which are actual users with normal privileges. The USERS.
  2. 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?

💖 💪 🙅 🚩
iaziz786
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.

Related

What was your win this week?
weeklyretro What was your win this week?

November 29, 2024

S3 native state locking in Terraform
undefined S3 native state locking in Terraform

November 29, 2024

Discuss moment
undefined Discuss moment

November 29, 2024