budibase/packages/auth
mike12345567 0117c1498f Fixing issue with multi-tenancy and public apps, when the tenant isn't necessarily known, it can be found in the app ID, building a middleware to manage this. 2021-09-09 13:27:18 +01:00
..
scripts Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
src Fixing issue with multi-tenancy and public apps, when the tenant isn't necessarily known, it can be found in the app ID, building a middleware to manage this. 2021-09-09 13:27:18 +01:00
.gitignore groundwork for budibase auth lib 2021-04-07 11:33:16 +01:00
README.md A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
cache.js WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
constants.js Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
db.js Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants" 2021-08-05 09:59:08 +01:00
package.json v0.9.122 2021-09-06 15:45:10 +00:00
permissions.js A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
redis.js A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
roles.js A general re-work of some parts of the auth lib, as well as moving roles/permissions around to make it possible to build an admin API which has role knowledge. 2021-05-14 15:43:41 +01:00
sessions.js Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
tenancy.js Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants" 2021-08-05 09:59:08 +01:00
yarn.lock Revert "Merge pull request #2253 from Budibase/revert-2076-feature/multi-tenants" 2021-08-05 09:59:08 +01:00

README.md

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.