Reading-Notes

Reading

What is Role Based Access Control (RBAC)?

What is Role Based Access Control (RBAC)?

Role-based access control (RBAC) restricts network access based on a person’s role within an organization and has become one of the main methods for advanced access control. Employees are only allowed to access the information necessary to effectively perform their job duties. Access can be based on several factors, such as authority, responsibility, and job competency. In addition, access to computer resources can be limited to specific tasks such as the ability to view, create, or modify a file.

https://www.digitalguardian.com/blog/what-role-based-access-control-rbac-examples-benefits-and-more

Share some an example of RBAC including all possible CRUD operations and correlating roles.

An admin or a manager might be able to see everything and do everything, implying they have full CRUD capabilities. While a simple employee might only have read capabilities, or maybe also post, to be able to clock in.

What are the Benefits of RBAC?

Compare and Contrast the following two Libraries and the following questions. Yes, they are similarly named.

react-cookies component

Describe some react-cookies features.

Which library would you prefer would you prefer? Why?

I think I would prefer to use react-cookies. It exports functions directly without using hooks, provides simplistically named functions like load, save, remove, and select, it also offers additional features and functionality for managing cookies. While this does mean that the package size is slightly larger, it’s still not that big.

I did have to use chatGPT to help answer the questions in the last half, as the documentation lent little to no help in regards to differences between the two libraries.