Use a better permissions system