This commit is contained in:
seb
2026-07-31 09:03:58 +02:00
parent 99dd76075e
commit 84a7c6f7ef

View File

@@ -131,8 +131,6 @@ Backend mapping:
3. `companyuser` for `(googleAuthId, companyId)`, else `Not authorized`
4. Insert `category` (next sibling `sort`) + `categorytext` (`name`, slugified `slug`, company default language)
`resolveCategoryAccess(googleAuthId, categoryId)` is internal — reusable for future update/delete/move.
`getTreeForCompany` throws `Not authorized` if `googleAuthId` is not a `companyuser` of `companyId`, and `Company not found` if the company is missing, has no `root_category_id`, or no `default_language_id`.
---