Firestore user roles management
- Ecosystem
- Vuex module with type-guarded actions dispatch
- Redux module
- Roles manager UI packaged as a library that can be easily deployed.
- 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:
;// or;
Usage
Configuration
To be continued...
Methods
To be continued...
Rules generator
To be continued...
CI usage
To be continued...
Need help?
- Feel free to email me at jedrzej@lewandowski.doctor
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.