Add has_any_permission method #2048

Add method to check if any of the given permission rest with
nereid_user.

Review ID: 287001