Update has_permission method for any permission #2048

Updated has_permission method to check any permission with all
permissions.

Review ID: 287001
Merge pull request #22 from tarunbhardwaj/feature/task-2048

Update has_permission method for any permission #2048