Add MemberMatters support#3
Open
rechner wants to merge 8 commits into
Open
Conversation
kataze
reviewed
Nov 2, 2025
Member
kataze
left a comment
There was a problem hiding this comment.
Lookin' hot 🔥
I think this will help remove a lot of maintenance overhead now that people are pausing and restarting their memberships all the time. Couple thoughts, nothing crazy.
Comment on lines
+87
to
+88
| # Not implemented (lol) | ||
| pass |
Co-authored-by: Kataze the Skunk <kataze@fursplosion.com>
kaybarkbark
approved these changes
Feb 2, 2026
- Add doorman/ipc.py with shared threading.Queue - Push door_access events from Flask on RFID auth success - Poll queue in websocket client, send door_access to MM server - Add main.py entrypoint running Flask + WS client in one process - Update Dockerfile to use main module with WEB_CONCURRENCY=1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, all access control decisions at Pawprint are being made using LDAP as our source of truth. Keeping LDAP users synced and turning off access after a user's payment has lapsed is a manual process.
MemberMatters has direct support for access control using a websocket protocol, this PR adds support for emulating a MemberMatters access control device to Doorman.
Doorman will first consult the access list from Member Matters, and can optionally fall-back to querying a card in LDAP.
The access list from MemberMatters is cached locally in the file specified by
DOORMAN_MM_DATA_FILE, so even for our instance hosted in the cloud, the doorman instance running locally will continue to work during an internet outage.