0.0.14 • Published 2 years ago

@monordo/bitfield-permission-manager v0.0.14

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

bitfield-permission-manager

badge Build Status

MonOrdo logo

❤️ This library is developed and maintained by MonOrdo ❤️

This library is developed to use the Bit field method as the main logic base within our permission system. We did not invent this method, nor its application to the permission system, but after having been inspired by discord, for example. We chose to simplify its use by creating a library to apply it more simply. This library supports injection within a module and can therefore be injected, for example, within the services of a NestJs server. This library also exposes a Guard to simplify its use within NestJs.

The bit field method allows building a permission system like Discord uses for its channels. The main advantage is to avoid heavy data transfers on the whole proposed solution. For its use, the storage of a big int is enough. The second advantage is its reliability for the check of permissions, no storage of permissions is necessary except the storage of the big int, so only its interpretation can differ in time and not name migrations as can be found on classical methods.

Repository: https://github.com/monordo/bitfield-permission-manager

Official documentation: https://monordo.gitbook.io/bitfield-permission-manager/

NPM details: https://www.npmjs.com/package/@monordo/bitfield-permission-manager

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.3

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.2

2 years ago