How to add user permissions to id token?

http://community.auth0.com/t/how-do-i-add-user-permissions-to-id-token/28611