From 5fadd1587ee7c4df8bbbda558bcf52a37340c860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20Lyngs=C3=B8?= Date: Wed, 29 Mar 2023 14:43:08 +0200 Subject: [PATCH] comments --- .../documents/documents/workspace/document-workspace.element.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace.element.ts index f1ce50c6cb..062c5edc8d 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/documents/documents/workspace/document-workspace.element.ts @@ -20,6 +20,8 @@ export class UmbDocumentWorkspaceElement extends UmbLitElement { path: 'create/:parentKey/:documentTypeKey', component: () => this.#element, setup: async (component: HTMLElement, info: IRoutingInfo) => { + // TODO: use parent key: + // TODO: Notice the perspective of permissions here, we need to check if the user has access to create a document of this type under this parent? const parentKey = info.match.params.parentKey; const documentTypeKey = info.match.params.documentTypeKey; this.#workspaceContext.createScaffold(documentTypeKey);