What is Role-Based Access Control (RBAC) in the context of NestJS guards?
-
A
A built-in NestJS feature that auto-assigns roles from JWT claims
-
B
A pattern where guards check user roles stored in metadata to allow or deny access
-
C
A database middleware that filters rows by user role
-
D
An OAuth2 scope validation mechanism