firestore-roles
TypeScript icon, indicating that this package has built-in type declarations

2.3.2 • Public • Published

Firestore user roles management

npm build codecov License PRs Welcome

  • Ecosystem
  • Declarative and exportable configuration
  • Role request support: users can request granting a role
  • Support for managed roles (one role can manage multiple other roles)
  • Built-in firestore rules generator —wraps your rules with role management statement — can be included in CI pipeline
  • Integration tested with firestore emulators — 100% coverage for generated rules
  • Typescript .d.ts typings included

Installation

$ npm install --save firestore-roles

Then:

import FirebaseRoles from "firstore-roles";
// or
const FirebaseRoles = require("firstore-roles");

Usage

Configuration

To be continued...

Methods

To be continued...

Rules generator

To be continued...

CI usage

To be continued...

Need help?

Would like to help?

Warmly welcomed:

  • Bug reports via issues
  • Enhancement requests via via issues
  • Pull requests
  • Security reports to jedrzej@lewandowski.doctor

Made with ❤️ by Jędrzej Lewandowski.

/firestore-roles/

    Package Sidebar

    Install

    npm i firestore-roles

    Weekly Downloads

    7

    Version

    2.3.2

    License

    MIT

    Unpacked Size

    79.3 kB

    Total Files

    60

    Last publish

    Collaborators

    • jblew