Defining user roles and authorization levels

Hi, My app includes a log-in using firebase, it also has Airtable as a backend DB, i’m now trying to decide how to best implement authorization levels and user based content. For example:

  • I would like users to be able to edit content they contributed to the site but only content they contributed
  • users should be able to add/edit contact details for relatives which will get notifications based on actions.

Can someone point me in the direction of best practices for above?

Thank you!

Hey @maimon.amitzk6w, thanks for the interesting question.

I don’t think we have an example for anything quite like this so you’d have to try your own implementation.

Perhaps you can add an extra isAuthor or even an Author field to your data and use that to decide whether or not that particular user can edit it.