Users can be assigned to multiple tiers/categories (e.g. 'admin', 'donor', 'aid-worker and donor', 'volunteer for organization 1 and admin for organization 2')
Pull Request 22 introduces support for custom claims. Custom Claims is a feature the Firebase SDK offers that assigns attributes to users. These assigned attributes are not visible without programmatic access. Additionally, custom claims are compatible with Firebase Security Rules.
Custom claims define attributes within a JSON object. Claims represent names of attributes as JSON keys and the values of a claim is a JSON value.
Acceptance criteria:
Pull Request 22 introduces support for custom claims. Custom Claims is a feature the Firebase SDK offers that assigns attributes to users. These assigned attributes are not visible without programmatic access. Additionally, custom claims are compatible with Firebase Security Rules.
Custom claims define attributes within a JSON object. Claims represent names of attributes as JSON keys and the values of a claim is a JSON value.