provide current user context from entry point
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
import { UmbCurrentUserContext } from './current-user/index.js';
|
||||
import type { UmbEntryPointOnInit } from '@umbraco-cms/backoffice/extension-api';
|
||||
|
||||
export const onInit: UmbEntryPointOnInit = (host, extensionRegistry) => {
|
||||
new UmbCurrentUserContext(host);
|
||||
};
|
||||
@@ -7,4 +7,10 @@ export const extensions = [
|
||||
type: 'bundle',
|
||||
loader: () => import('./manifests.js'),
|
||||
},
|
||||
{
|
||||
name: 'User Management Entry Point',
|
||||
alias: 'Umb.EntryPoint.UserManagement',
|
||||
type: 'entryPoint',
|
||||
loader: () => import('./entry-point.js'),
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user