Midburn / spark

"burn in a box" suite of services that composes everything required to run a burn event throughout the year
Apache License 2.0
18 stars 46 forks source link

Request: Gate department asks that 'Force Entry' button would require password input #928

Open amotenko opened 6 years ago

amotenko commented 6 years ago

Please provide estimation on how easy/hard it is to implement

ArtyomKa commented 6 years ago

server looks easy. don't know about front.

On Wed, Apr 25, 2018, 22:19 Alex notifications@github.com wrote:

Please provide estimation on how easy/hard it is to implement

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Midburn/spark/issues/928, or mute the thread https://github.com/notifications/unsubscribe-auth/AAkWjMFFoxPmGPyc8kEPH20PPgS5i7B8ks5tsMxKgaJpZM4TkAhE .

amotenko commented 6 years ago

@NitayRabi can we do it with a pop up box or something?

NitayRabi commented 6 years ago

@amotenko - Yes we can use sweet alert for this.

ArtyomKa commented 6 years ago

Question. Where should we store the password on the server side? DB (events table maybe) or env. variable? Second option is easier to implement of course

Edit

Answering myself: better store it in the DB in the events table. @amotenko please open an issue on it. Meanwhile implementing it as env variable. The change will be trivial once the DB is implemented