Skip to content

Commit 369c6fb

Browse files
authored
fix: spelling of scope 'cloudnet_rest:group_read' (#153)
1 parent 4485416 commit 369c6fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cloudnet-rest-module/src/main/java/eu/cloudnetservice/ext/modules/rest/v3/V3HttpHandlerGroup.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public V3HttpHandlerGroup(@NonNull GroupConfigurationProvider groupProvider) {
4545
}
4646

4747
@RequestHandler(path = "/api/v3/group")
48-
@Authentication(providers = "jwt", scopes = {"cloudnet_cloudnet_rest:group_read", "cloudnet_rest:group_list"})
48+
@Authentication(providers = "jwt", scopes = {"cloudnet_rest:group_read", "cloudnet_rest:group_list"})
4949
public @NonNull IntoResponse<?> handleGroupListRequest() {
5050
return JsonResponse.builder().body(Map.of("groups", this.groupProvider.groupConfigurations()));
5151
}

0 commit comments

Comments
 (0)