1
0
Fork 0
mirror of synced 2024-09-20 11:27:56 +12:00
budibase/packages/backend-core
melohagan 3f357561d0
The UI should indicate who the account holder is (#14470)
* Get tenantInfo in user fetch

* Add account holder label in users table

* Don't allow account holder to be selected in users table

* Sort account holder to top of list

* Only use account holder role in users table

* lint

* Remove joi validation from tenant-info endpoint

* Remove dayPasses

* Catch CouchDB 404 and return undefined

* Don't allow account holder role to be changed UI

* Don't offer delete option for tenant owner

* Backend validation to ensure account holder role cannot be updated

* Don't allow account holder role to be changed UI

* Get tenantOwner in separate call

* Pass data into SelectEditRenderer

* Rename var to __selectable

* setEnrichedUsers

* Update pro reference

* Only load tenantOwner once
2024-08-30 16:29:38 +00:00
..
__mocks__ Updating app backup exports to not include automation logs as these bloat the backups. 2023-10-30 17:41:08 +00:00
scripts Making progress on getting the eslint-jest plugin working. 2024-03-19 10:46:59 +00:00
src The UI should indicate who the account holder is (#14470) 2024-08-30 16:29:38 +00:00
tests Merge branch 'master' into posthog-feature-flags 2024-08-08 17:59:57 +01:00
.gitignore
.npmignore
jest.config.ts Don't need a globalTeardown, testcontainers handles the removal of containers. 2024-03-26 10:00:34 +00:00
LICENSE
package.json Remove node-fetch mock from backend-core and replace with nock. 2024-08-07 15:26:04 +01:00
README.md
tsconfig.build.json
tsconfig.json

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/backend-core/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.