Werk #19782 · Apr 15, 26
show_host endpoint: use contact groups
When trying to show information of a specific host with the
GET /objects/host_config/{host_name}
endpoint, you had to have the See all hosts and folders permission.
This was not aligned with the
GET /domain-types/host_config/collections/all
where all of the contact hosts have been shown.
Now the permission handling correctly uses contact groups: a user can view a host if they are a contact of the host itself or of the folder containing it.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- REST API
- Versions:
- 3.0.0b1Not yet releasedAll Editions
- 2.5.0p1All Editions
- 2.4.0p29All Editions