Disabled degrading super clients to normal clients.
Change-Id: I7bb6534eb978a4febfeab03935d2b82abe405c3f
diff --git a/full/src/main/java/de/ids_mannheim/korap/web/controller/OAuthClientController.java b/full/src/main/java/de/ids_mannheim/korap/web/controller/OAuthClientController.java
index 387194c..91a129d 100644
--- a/full/src/main/java/de/ids_mannheim/korap/web/controller/OAuthClientController.java
+++ b/full/src/main/java/de/ids_mannheim/korap/web/controller/OAuthClientController.java
@@ -169,7 +169,7 @@
/**
* Facilitates editing client privileges for admin purposes, e.g.
- * setting a specific client to be a super client, and vice versa.
+ * setting a specific client to be a super client.
* Only confidential clients are allowed to be super clients.
*
* @param securityContext
@@ -189,7 +189,8 @@
try {
scopeService.verifyScope(context, OAuth2Scope.ADMIN);
clientService.updatePrivilege(context.getUsername(), clientId,
- Boolean.valueOf(isSuper));
+ true);
+// Boolean.valueOf(isSuper));
return Response.ok().build();
}
catch (KustvaktException e) {