Refactor grantAccess to accept booleans

Description:
Before, grantAccess was testing whether message.permission.read ===
'true'. This is no longer necessary as the message permissions contain
boolean values.