Permissions UI

Among other things, fixes #482 and #450.
So what about this dot?