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);