X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/18d976b4701d76bdeb05e0fe3c1757060d3b8a2a..9551b59d3aab67f77240b90bbb550faec6b2a7d9:/services/api/app/models/group.rb diff --git a/services/api/app/models/group.rb b/services/api/app/models/group.rb index e18ee5ef38..0c36a048dc 100644 --- a/services/api/app/models/group.rb +++ b/services/api/app/models/group.rb @@ -48,6 +48,15 @@ class Group < ArvadosModel t.add :can_manage end + protected + + def self.attributes_required_columns + super.merge( + 'can_write' => ['owner_uuid', 'uuid'], + 'can_manage' => ['owner_uuid', 'uuid'], + ) + end + def ensure_filesystem_compatible_name # project and filter groups need filesystem-compatible names, but others # don't.