Currently, we are showing the way where you just have to Copy Files / Folders from the full version to get the Auth and ACL working but in future we will make this process more smooth.
Copy Router file
src/router/Router.js from full version and replace it with the one in starter kit at the same path in starter kit folder.
Update following imports according to your current paths:
If you have not moved those files
The main difference between those two router files is
FinalRoute function which is enabled in the Full version and which is also responsible to check the Authentication and implement ACL while visiting any route.
You only have to copy two files from full-version to starter-kit. Navigate to
vertical-menu/VerticalNavMenuItems.js or if you're using
acl folder found at
src/configs/acl and paste it in the starter at path
Import Ability Context in
src/index.js and wrap your
<LazyApp /> with it.
Now when a user login you'll have to update their ability. You can do that using ability context like shown in below example.
You can learn about how ACL works here