Enable signup without entering RFID card#353
Enable signup without entering RFID card#353Ostpopcorn wants to merge 1 commit intomembermatters:devfrom
Conversation
Slightly altered the behavior of REQUIRE_ACCESS_CARD.
|
@jabelone Could you please have a look at this one? It's important to the adoption by the Swedish makerspaces to modify the signup process since tags are not always used and some makerspaces have memberships that dont give full access (skip tag entierly) |
|
This would be useful for our space too - we have prospective members sign up online before walking in, so they haven't been given an RFID tag yet and get confused on this signup step. |
|
The hacky way I've worked around this is with a 1 minute cron that runs this database query: UPDATE profile_profile set last_induction = '2022-01-01 00:00:00', rfid=id WHERE rfid IS NULLto force everyone to the onboarded-capable state. |
|
@MaxBareiss @rechner While waiting for @jabelone we are working on setting up a new fork for the Swedish makerspaces where we have merged some of the most wanted PRs (including this). If you want to test or contribute please see the dev branch of https://github.com/MakersOfSweden/MemberMatters or checkout the docker-hub https://hub.docker.com/r/kriffe/makersofsweden-membermatters-fork that the fork is currently building to |
This PR changes functionality to allow signing up without entering an RFID card. This PR changes the REQUIRE_ACCESS_CARD behaviour and adds an option MEMBER_CAN_ENTER_ACCESS_CARD in Constance to enable the new behaviour.
The table below shows how the two settings work in this PR:
With this PR, when REQUIRE_ACCESS_CARD==true, MEMBER_CAN_ENTER_ACCESS_CARD has the same behaviour as the current system (using REQUIRE_ACCESS_CARD).
Some makerspaces (like ours in Linköping, Sweden) use other access methods than tags, so no tags should be required to sign up.
The code is written in Claude because I do not have much experience in web development. The approach appears sound, but someone else should confirm its validity. I have, of course, reviewed the produced code and tested it to the best of my abilities in a local installation with positive results.