Open patrickod opened 7 years ago
Ideally the authentication layer here would be some form of OAuth (maybe using Github) so that we don't have to store credentials. This should be a relatively easy thing to extend. I'll explore doing so.
This is has first been discussed in #13 There, we were discussing using the RFID as authentication, but it has the disadvantage that you need to be in the space. So I do like the OAuth idea. It would make many things even simpler.
I can take a look at this. Is the format of the text file the web interface would need to read/write somewhere?
There is an API to change it, which is what you should use.
Where is that API defined?
It is the Authenticator class: https://github.com/noisebridge/rfid-access-control/blob/master/software/earl/authenticator.go#L42
There are two ways to solve this
We're adding Philanthropists at a reasonable rate these days and it'd be great to have an easier way to edit their status with a browser as opposed to SSH'ing into earl and editing the text file.
On top of this it'd be great if Earl posted into the #rack Slack channel to notify people that their status has been updated.