Revert "Updated permission granting"

This reverts commit b7e20949d1f44af4bfa5c92c147c85888a93629a.
This is my solution to the code challenge that was presented to me.
Revert "This is my solution to the code challenge that was presented to me."

This reverts commit d0664f3cfbaa3be4432ad7b66aa0ac7c2f3047f4.