Dashboard Access Roles (RBAC) Role-Based-Access-Control Admin,Editor,Basic permissions. Users rights

Опубликовано: 09 Август 2022
на канале: Code Like Pro
5 тыс
7

This is the 20th part of React MERN real estate Project. In this video, we restricted access to the admin panel dashboard so only users with the right permissions can access the privileges granted to them by the admin of the system. User with admin access role can access everything, see the users list, update user status, activate, disable the users, grant more advantages to the users, change the role of the user, delete, update, view rooms. User with editor access role can have the same rights of the admin except controlling and managing the users. While normal user with basic access role can only manage his/her own added (resources) rooms. We implemented this access control not only on the client side, but most importantly on the server side.
RBAC (Role-Based Access Control)
Forbidden access (User Suspended)
Reactjs
Material UI5 (MUI5)
Nodejs
Expressjs
MongoDB
Mongoose

The whole videos playlist of the project:


Source Code on github:



00:00 Introduction
02:48 fixing code from the last video (clearing the room from the localStorage and storing the room being edited when the system logs the user out automatically)
04:22 implementing access roles on the server side
17:29 Checking access control in the server side before implementing client side security layer (access control)
21:11 adding restricted access (security layer) in the client side by preventing unauthenticated users or users with expired token from accessing the dashboard
24:03 restrict what user can see and what action he/she can take on the client side depending on his/her role or permissions (rights, privileges, advantages)


Смотрите видео Dashboard Access Roles (RBAC) Role-Based-Access-Control Admin,Editor,Basic permissions. Users rights онлайн без регистрации, длительностью 35 минут 32 секунд в хорошем hd качестве. Это видео добавил пользователь Code Like Pro 09 Август 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5 тысяч раз и оно понравилось 7 людям.