Added the authorization support for roles per controller function