Fix tenant scope on retrieval of target groups (#2847)

* Fix tenant scope on retrieval of target groups

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

* fix build

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
Stanislav Trailov
2025-12-10 09:37:38 +02:00
committed by GitHub
parent e6367d0b0c
commit 3bc8a91883
4 changed files with 7 additions and 6 deletions

View File

@@ -375,7 +375,7 @@ public interface TargetManagement<T extends Target>
* @return list of all distinct target groups
*/
@PreAuthorize(HAS_READ_REPOSITORY)
List<String> findGroups();
List<String> findGroups(String tenant);
/**
* Creates or updates a meta-data value.