Dave Brondsema - 2014-04-01

Specifically, see the get_permission_name method in that script