Configure Authorization
This section explains the authorization
property of configureWunderGraphApplication
.
Example Configuration
1
2
3
4
5
6
WunderGraph has out of the box support for Role Based Access Control (RBAC). By default, WunderGraph defines two roles, admin
and user
, which you can override or change.
How RBAC works
If you want to learn more on how RBAC works, please follow the Authorization / RBAC reference.