<Login />
and <Auth />
1. What is Role Based Access Control (RBAC)?
RBAC is when an organization has roles and each role has certain permissions assigned to them. Members of the organization can access to different bits of a network appropriate to their assigned roles.
2. Share some an example of RBAC including all possible CRUD operations and correlating roles.
3. What are the Benefits of RBAC?
Compare and Contrast the following two Libraries and the following questions. Yes, they are similarly named.
1. Describe some react-cookie
features.
Access and modify cookies using React hooks.
get(name, [options])
: Get a cookie valuegetAll([options])
: Get all cookiesset(name, value, [options])
: Set a cookie valueremove(name, [options])
: Remove a cookie2. Describe some react-cookies
features.
Load and save cookies with React.
.load(name, [doNotParse])
: Load the cookie value..loadAll()
: Load all available cookies..select([regex])
: Find all the cookies with a name that match the regex..save(name, value, [options])
: Set a cookie..remove(name, [options])
: Remove a cookie..plugToRequest(req, res): unplug()
: Load the user cookies so you can do server-rendering and match the same result. Also send back to the user the new cookies..setRawCookie(cookies)
: Load the user cookies so you can do server-rendering and match the same result.3. Which library would you prefer would you prefer? Why?.
I’m not sure. react-cookies
seems to have more flexibility about what you can do with cookies, but I don’t have a solid enough baseline knowledge of working with cookies to come to an informed decision.
1. Looking ahead at this module’s course schedule, What do you look forward to learning?
I want to know how to use these cookies! Can I replace local storage with cookies?
2. What are your learning goals after reading and reviewing the class README?
My learning goal today is to learn about cookies.
cookie
taste like?