Added the permission resource API