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
feat: add Namespaces permission scope for manage_namespaces (Weaviate 1.38+)
Map the 1.38 RBAC action manage_namespaces into the client permission
model instead of leaving it deserialized-but-unmapped:
- Permissions.Namespaces scope with a Manage flag and a
NamespacesResource(Namespace = "*") filter (exact name or regex
pattern), mirroring the Backups manage-only scope shape and the
python client's Permissions.namespaces factory / _NamespacesPermission
({"namespaces": {"namespace": ...}} wire form).
- Two-way mapping: ToDto emits the namespaces resource filter with the
action; Permissions.Parse groups by the namespaces resource like every
other scope.
- Drop the temporary Manage_namespaces exclusion in the
AllPermissionActions_AreMentioned guard; the action is now genuinely
covered by parse/serialize round-trip unit tests.
- CreateRoleWithNamespacesPermission integration test, gated
RequireVersion("1.38.0"), verified against a 1.38.4 RBAC node.
- PublicAPI.Unshipped.txt entries for the new public surface.
0 commit comments