@@ -96,7 +96,7 @@
"granted_users": {
"type": "keyword"
},
- "granted_group": {
+ "granted_groups": {
"created_at": {
@@ -99,7 +99,7 @@
@@ -893,7 +893,7 @@ class ElasticsearchDelegator implements SearchDelegator<Data, ESTermsKey, ESQuer
bool: {
must: [
{ term: { grant: GRANT_USER_GROUP } },
- { terms: { granted_group: userGroupIds } },
+ { terms: { granted_groups: userGroupIds } },
],