Added pyramid permission to views