docs: remove Library permission groups from samples and documentation

- Removed 'Permissions/Library' and 'Permissions/Library/Item' from README.md hierarchy examples.

- Updated 'docs/sample_import_permissions_template_groups_mutation.graphql' to remove these groups from the sample import.

- Removed these groups from the 'TEMPLATEGROUP_EXPORT_DUMMY_TEMPLATE' in 'src/testdata/templates/zbx_default_templates_vcr.yaml'.

- Verified all 38 tests pass successfully.
This commit is contained in:
Andreas Hilbig 2026-01-26 18:17:06 +01:00
parent 538bffd0bf
commit b3f84b9cd3
3 changed files with 71 additions and 3 deletions

View file

@ -0,0 +1,38 @@
### Mutation
Use this mutation to import template groups used for permission management.
```graphql
mutation ImportTemplateGroups($templateGroups: [CreateTemplateGroup!]!) {
importTemplateGroups(templateGroups: $templateGroups) {
groupName
groupid
message
error {
message
code
data
}
}
}
```
### Variables
This sample data contains template groups used to model application-level permissions on the Zabbix side.
The data is based on the `Permissions/` groups from `src/testdata/templates/zbx_default_templates_vcr.yaml`.
```json
{
"templateGroups": [
{
"uuid": "43aab460fe444f18886b19948413b7e3",
"groupName": "Permissions/ConstructionSite"
},
{
"groupName": "Permissions/Automatism"
},
{
"groupName": "Permissions/Automatism/Status"
}
]
}
```