Budibase is an open-source low-code platform for creating internal apps in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s 🚀
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
mike12345567 75ae7ac8d6 Linting. 5 years ago
..
scripts Add database test configuration to auth package 5 years ago
src Linting. 5 years ago
.gitignore groundwork for budibase auth lib 5 years ago
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. 5 years ago
cache.js WIP - first version of user sessions. 5 years ago
constants.js Adding concept of version to APIs. 5 years ago
db.js re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 5 years ago
package.json re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 5 years ago
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. 5 years ago
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. 5 years ago
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. 5 years ago
sessions.js Fixing session issues after testing a bit. 5 years ago
tenancy.js re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 5 years ago
yarn.lock re-write, to use the ideas that Rory put in place, still WIP, un-tested but all implemented. 5 years ago

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.