fix acting_as argument to resource#permitted?. i think this problem is pervasive