When we load a poll we should check is the user has already voted
We now have access to a polls/{id}/can_vote/
endpoint which return true of false depending on if the user has already voted on the poll or not.
We should send a GET using either a fetch or a store.fetchData on the poll detail load to disable the vote button if the endpoint returns false.
Can you check that @clement ?
I made a few try but no luck for now on the https://git.startinblox.com/applications/etuc/sib-polls-component/tree/feature/check-can-vote branch but blocked for now because a direct call using fetch does not bear authentication so you get a 403 so I was trying to push the authorization token with it.