added comparison operators to permission class