mike12345567
|
ea6f580501
|
Initial version of memory leak protection, making sure that PouchDB databases are closed correctly after use, using a combination of closures wrapping DB gets (this replaces the getDB, leaving only a dangerousGetDB function which can be used in very very specific scenarios) and then closing the DB as part of CLS hooked functions finishing. Also moving the GlobalDB init to the tenancy middleware as this is used everywhere in the worker/app services - means that not all getGlobalDB calls require an async closure around them.
|
2022-04-19 19:42:52 +01:00 |
mike12345567
|
e073bdb5a4
|
Fix for #5103 - some templates are built on an older version that stored permissions differently, we can't migrate these as they will keep being added, easiest to just support the old method (apply the old rule and convert to the new format when retrieving roles).
|
2022-03-28 16:34:50 +01:00 |
mike12345567
|
8f7a8553bb
|
Fix for #4267 - allow admins to access all roles.
|
2022-02-04 17:34:39 +00:00 |
mike12345567
|
9fa10ff02f
|
Refactoring backend-core tenancy to context, splitting out tenancy functionality to its own area.
|
2022-01-31 17:53:19 +00:00 |
mike12345567
|
4b1331450c
|
Fixing some issues discovered by the cypress tests, cleaning up how Couch is used.
|
2022-01-28 18:52:34 +00:00 |
mike12345567
|
40c6eb2007
|
Main body of work, refactoring most usages.
|
2022-01-27 18:18:31 +00:00 |
mike12345567
|
b4f83fa867
|
Changing directory.
|
2022-01-10 19:30:35 +00:00 |