Use grantPermissions method instead of asPermissions