NHibernate's permission system is basically completed. However, the code is very messy, huh, but I don't know where there is a place, if someone has a place, I hope to give some space, and I hope that people who are interested can improve it together.