DEV Community

Discussion on: How to Role Based Access Control (RBAC) ? ๐Ÿ‘ฎโ€โ™‚๏ธโš ๏ธ

Collapse
 
krishnasharmacc profile image
Krishna Sharma • Edited

Hi @thearvindnarayan , great article indeed! One thing that i think might have been a mistake is in Router.js line 4: we need to pass role instead of userRole to the checkAccess() method. Other than that, i found this article to be really simple and well explained. Keep up the amazing work! Kudos ๐Ÿ‘๐Ÿ‘

Collapse
 
thearvindnarayan profile image
Arvind Narayan

Thanks Krishna for pointing it out. It flew under the radar! and thanks for the appreciation