One-Time AccessAuth #9

Open
opened 2026-06-25 12:06:32 +02:00 by kalipso · 0 comments
Owner

Currently access is limited to periodic time intervals. Often times there is a need for someone to get access out of such an interval. Also it happens that people do a one time event that are not part of a group that has regular plenaries.
Normally people pick up a key and bring it back later. With cards it would be good to have the option to only allow access during that specific event. For this i propose extending the AccessAuth model to allow specifying one time access.

One-Time Access for 1h access at a specific date could look like this:

  {
    "name": "string",
    "is_active": true,
    "id": 0,
    "type": "one-time",
    "date": 1782381786,
    "duration": 3600,
    "groups": [
      {
        "name": "string",
        "id": 0
      }
    ]
  }

For the current AccessAuth model i would propose setting its type to periodic.

Currently access is limited to periodic time intervals. Often times there is a need for someone to get access out of such an interval. Also it happens that people do a one time event that are not part of a group that has regular plenaries. Normally people pick up a key and bring it back later. With cards it would be good to have the option to only allow access during that specific event. For this i propose extending the AccessAuth model to allow specifying one time access. One-Time Access for 1h access at a specific date could look like this: ```json { "name": "string", "is_active": true, "id": 0, "type": "one-time", "date": 1782381786, "duration": 3600, "groups": [ { "name": "string", "id": 0 } ] } ``` For the current AccessAuth model i would propose setting its type to `periodic`.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malobeo/gatekeeper#9