Norvell, Please Merge

    zinky-visa

    0.1.1 • Public • Published

    Zinky Visa (Featured module)

    This module let's you manage user permissions in the project.

    Overview

    Permissions are strings, they are stored in an object which keys represent different users roles, each role has an array of permissions.

    Then every other module should have an access getter which associates every operation in the module with a permission.

    Zinky Visa will check on every request if the user role has the permission to access the operation.

    Install

    npm i zinky-visa

    DownloadsWeekly Downloads

    7

    Version

    0.1.1

    License

    ISC

    Unpacked Size

    1.6 kB

    Total Files

    3

    Last publish

    Collaborators

    • burawi