Role based login in ng-matero application #566
-
Hi @nzbin/any other interested person, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The ng-matero/src/app/core/bootstrap/startup.service.ts Lines 43 to 52 in 6057d69 |
Beta Was this translation helpful? Give feedback.
The
in-mem-data.service
is just used for example, I'm not sure how you does with it. If you have an API with roles, you should call it and bind the roles in thestartup.service
. After that, you can get the roles and permissions withngx-permissions
services in the whole app.ng-matero/src/app/core/bootstrap/startup.service.ts
Lines 43 to 52 in 6057d69