Node Role-Based Access
Add roles and permissions to a Node API: admins, editors and viewers.
What you'll learn
- Model roles and permissions
- Write authorization middleware
- Check ownership of resources
- Test access rules
About this course
You add role-based access control to an Express API. You model roles and permissions, write middleware, protect resources by owner and test each rule.
Course curriculum
4 modules and 12 lessons over 4 weeks. Plan for about 12 learning hours.
01ModelWeek 1 · 3 lessons
- Roles
- Permissions
- Database tables
02MiddlewareWeek 2 · 3 lessons
- Role checks
- Permission checks
- Error responses
03OwnershipWeek 3 · 3 lessons
- Resource owners
- Teams
- Admin overrides
04TestsWeek 4 · 3 lessons
- Access matrix
- Automated tests
- Review
Project
RBAC API. An Express API with admin, editor and viewer roles and tested access rules.
Who this course is for
Node developers building apps with more than one type of user.
Prerequisites
You have built an Express API with authentication.
What's included
- 180-day course access
- Project brief
- Starter repository
- Coding labs
- Reference solutions
- One written project review
- A digital completion certificate
Learning format
Project-based online course, part of our guided project courses. One written project review.
Access and delivery
- Course access is delivered within 15 minutes after payment.
- Written project review is returned within 2 business days of submission.
- Completion materials are issued within 2 business days after the project is approved.
Certificate
You receive a digital completion certificate. Completion materials are issued within 2 business days after the project is approved.
Frequently asked questions
When does access start?
Course access is delivered within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for project-based programs.