File tree Expand file tree Collapse file tree
src/main/java/io/weaviate/client6/v1/api/rbac Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ enum Kind implements JsonEnum<Kind> {
3636 GROUPS ("groups" ),
3737 ROLES ("roles" ),
3838 NODES ("nodes" ),
39- NAMESPACES ("namespaces" ),
4039 TENANTS ("tenants" ),
4140 REPLICATE ("replicate" ),
4241 USERS ("users" ),
Original file line number Diff line number Diff line change 33import java .io .IOException ;
44import java .util .Arrays ;
55import java .util .List ;
6- import java .util .Objects ;
76
87import com .google .gson .Gson ;
98import com .google .gson .TypeAdapter ;
@@ -44,9 +43,6 @@ public T read(JsonReader in) throws IOException {
4443 if (role .permissions == null ) {
4544 return (T ) role ;
4645 }
47- // Permissions which are not known to this client version
48- // will be returned as null; we should drop them before merging.
49- role .permissions .removeIf (Objects ::isNull );
5046 return (T ) new Role (role .name (), Permission .merge (role .permissions ));
5147 }
5248 };
You can’t perform that action at this time.
0 commit comments