3DStreet / 3dstreet-editor

3DStreet Editor Repo
https://3dstreet.app
Other
18 stars 3 forks source link

Basic user claim access #426

Closed kfarr closed 2 months ago

kfarr commented 2 months ago

This is a very basic access control system using Firebase auth "claims." By default a user have no claims. They can be added in JSON format via direct database editing.

Example claim for a user with beta access on a Pro plan

{
  "plan": "PRO",
  "beta": true
}

Example of this claim being edited for a user using Firefoo app [1] image

[1] https://www.firefoo.app/ (paid) [2] Open-source alternative https://github.com/thanhlmm/refi-app