Added some simple pattern matching on permit/exists methods string values