Hi,
If you want to use a MYSQL db to store your MACs in it, there's not need for a design document.
You just have to edit the MAB rule to something like:
Wired or WiFi MAB request -> search user (MAC) in identity store -> your_mysql_db
Thanks,
Octavian