BPermsAPI: a mad last-ditch attempt to get this to work.

don't use this unless you're me and you're testing it.