Some additional refactoring

This commit is contained in:
Aaron Dalton 2024-08-02 09:08:07 -04:00
parent e918c5284d
commit ec195267ad

View File

@ -1,8 +1,8 @@
const NullPermissions = { user: null, groups: [] }; const NullIdentity = { user: null, groups: [] };
function createNullIdentity() { function createNullIdentity() {
return { return {
authorize: () => NullPermissions, getIdentity: () => NullIdentity,
getContext: () => ({ getContext: () => ({
provider: "null", provider: "null",
}), }),