Add permissions.view.self permission required to view your own permissions. permissions.view is already required to view anyone else's permissions.
web.py isn't actually used anymore. I'll bring it back if we need it again.