---
title: "Discussion on \"How to Implement Role-Based Access Control in NestJS with MongoDB - Part 4\" | Hashnode"
description: "Discussion on \"How to Implement Role-Based Access Control in NestJS with MongoDB - Part 4\". Learn how to add public routes and create a custom Active User Decorator in NestJS using MongoDB"
url: "https://hashnode.com/posts/how-to-implement-role-based-access-control-in-nestjs-with-mongodb-part-4/66907927c960358d7045f14b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Implement Role-Based Access Control in NestJS with MongoDB - Part 4](https://blog.amanpreet.dev/how-to-implement-role-based-access-control-in-nestjs-with-mongodb-part-4?utm_source=hashnode&utm_medium=feed)

Learn how to add public routes and create a custom Active User Decorator in NestJS using MongoDB

Jul 12, 2024 · 8 min read · blog.amanpreet.dev  
Updated Jul 13, 2024  
Read the article

-   [#mongodb](https://hashnode.com/tag/mongodb)
-   [#nestjs](https://hashnode.com/tag/nestjs)
-   [#series](https://hashnode.com/tag/series)
-   [#rbac](https://hashnode.com/tag/rbac)

## Written by

[Amanpreet Singh](https://hashnode.com/@amanpreet-dev)

@amanpreet-dev · India

  
[View profile](https://hashnode.com/@amanpreet-dev)

Freelance Full Stack Engineer | Devops | 2x AWS Certified | Problem Solver | Software Crafter | ex-Head of Engineering

Passionate developer and software crafter with a passion for problem-solving. Always learning and growing in the field. Currently looking for a job or freelance gig. Need a software consultant? I am your guy! With experience in websites, applications, and cloud services, I can provide top-notch solutions for your business needs. Let's work together to take your tech game to the next level. Contact me today for part-time consulting opportunities

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
