1
0
Fork 0
mirror of synced 2024-09-11 15:08:05 +12:00
budibase/packages/auth
Budibase Staging Release Bot 00e2f5b220 v0.9.169-alpha.9
2021-10-21 11:57:41 +00:00
..
scripts
src encapsulate global logout function 2021-10-13 12:26:26 +01:00
.gitignore
accounts.js
cache.js
constants.js
db.js
deprovision.js
package.json v0.9.169-alpha.9 2021-10-21 11:57:41 +00:00
permissions.js
README.md
redis.js
roles.js
sessions.js
tenancy.js
yarn.lock

Budibase Core backend library

This library contains core functionality, like auth and security features which are shared between backend services.

Note about top level JS files

For the purposes of being able to do say require("@budibase/auth/permissions") we need to specify the exports at the top-level of the module.

For these files they should be limited to a single require of the file that should be exported and then a single module.exports = ... to export the file in commonJS.