id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink (权限的定义)access_book_user,BookUser,model_library_book,library_group_user,1,0,0,0 (权限记录)access_book_manager,BookManager,model_library_book,library_group_manager,1,1,1,1 id:权限的I…