A MySQL permission plugin