Add Rpolicy for Pundit authorization and remove trailing whitespaces

https://github.com/elabs/pundit