Permissions UI

No idea what happened here. Reverting.