This document presents an example of dynamic permission menu loading based on jCasbin. Through jCasbin, you can easily manage menu permissions in Spring Boot development.
Technology Stack
Startup Instructions
casbin/policy.csv file. Specifically, g2 represents the relationship between menus. For example: g2, submenu name, parent menu name.main method in Application.java located under org/casbin/. Access http://localhost:8080/ for testing.casbin/model.conf, and the policy file is at casbin/policy.csv. Modify them as needed based on your requirements.Demonstration video
Root user
Admin user
Normal user