You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: backend/src/main/java/org/cryptomator/hub/api/AuditLogResource.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ public class AuditLogResource {
53
53
@APIResponse(responseCode = "200", description = "Body contains list of events in the specified time interval")
54
54
@APIResponse(responseCode = "400", description = "startDate or endDate not specified, startDate > endDate, order specified and not in ['asc','desc'] or pageSize not in [1 .. 100]")
55
55
@APIResponse(responseCode = "402", description = "Community license used or license expired")
56
-
@APIResponse(responseCode = "403", description = "requesting user is does not have admin role")
56
+
@APIResponse(responseCode = "403", description = "requesting user does not have admin role")
@Operation(summary = "Get license information for regular users", description = "Information includes the licensed seats, the already used seats and if defined, the license expiration date.")
@APIResponse(responseCode = "402", description = "used seats + (number of users in group not occupying a seats) exceeds number of total avaible seats in license")
185
+
@APIResponse(responseCode = "402", description = "license is expired or licensed seats would be exceeded after the operation")
184
186
@APIResponse(responseCode = "403", description = "not a vault owner")
185
187
@APIResponse(responseCode = "404", description = "group not found")
186
188
@ActiveLicense
@@ -189,7 +191,7 @@ public Response addGroup(@PathParam("vaultId") UUID vaultId, @PathParam("groupId
if (vault.effectiveMembers.stream().noneMatch(u -> u.id.equals(jwt.getSubject())) && !identity.getRoles().contains("admin")) {
@@ -395,7 +393,7 @@ public VaultDto get(@PathParam("vaultId") UUID vaultId) {
395
393
description = "Creates or updates a vault with the given vault id. The creationTime in the vaultDto is always ignored. On creation, the current server time is used and the archived field is ignored. On update, only the name, description, and archived fields are considered.")
0 commit comments