Some additional refactoring
This commit is contained in:
parent
e918c5284d
commit
ec195267ad
@ -1,8 +1,8 @@
|
||||
const NullPermissions = { user: null, groups: [] };
|
||||
const NullIdentity = { user: null, groups: [] };
|
||||
|
||||
function createNullIdentity() {
|
||||
return {
|
||||
authorize: () => NullPermissions,
|
||||
getIdentity: () => NullIdentity,
|
||||
getContext: () => ({
|
||||
provider: "null",
|
||||
}),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user