Instant ACL propagation #10

Open
opened 2024-08-29 09:44:32 +00:00 by lauri · 1 comment
Owner

Adding group membership in Passmower should result instant ACL propagation to doors, currently takes a minute to update the allowlist

Adding group membership in Passmower should result instant ACL propagation to doors, currently takes a minute to update the allowlist
Owner

This could work by pushing a new event into eventlog MongoDB collection with type refresh and that could then be published in doorboy-proxy to all doors.

Godoor would need to recognize that refresh event and call reloadTokens https://git.k-space.ee/k-space/godoor/src/branch/master/godoor.go#L407

This could work by pushing a new event into `eventlog` MongoDB collection with type `refresh` and that could then be published in [doorboy-proxy](https://git.k-space.ee/k-space/doorboy-proxy/src/branch/master/app/doorboy-proxy.py#L80) to all doors. Godoor would need to recognize that `refresh` event and call `reloadTokens` https://git.k-space.ee/k-space/godoor/src/branch/master/godoor.go#L407
Sign in to join this conversation.
No Label
greenlit
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: k-space/godoor#10
No description provided.