Integrate pundit

Hi

This is a PR for integration with another authorization framework Pundit(https://github.com/elabs/pundit).
Please review it. Thank you.

BR

bin liu