u
This commit is contained in:
@@ -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)
|
||||
|
||||
All category mutations use `resolveCategoryAccess(googleAuthId, categoryId)` internally. Root category cannot be deleted.
|
||||
|
||||
`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`.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user