agreeable-army-26750
03/31/2023, 8:51 AMastonishing-answer-96712
04/03/2023, 9:19 PMastonishing-answer-96712
04/03/2023, 9:19 PMagreeable-army-26750
04/04/2023, 2:07 PMaloof-gpu-11378
04/07/2023, 9:09 PMimportant-night-50346
04/09/2023, 10:21 PMnamespace com.mycompany.access
import com.linkedin.common.CustomProperties
import com.linkedin.common.ExternalReference
@Aspect = {
"name": "customAccessRules",
"autoRender": true,
"renderSpec": {
"displayType": "properties",
"displayName": "Access"
}
}
record CustomAccessRules includes CustomProperties, ExternalReference {
@Searchable = {
"fieldType": "TEXT_PARTIAL",
"addToFilters": true,
"enableAutocomplete": true,
"hasValuesFieldName": "hasAccessGroupsRead"
}
accessGroupsRead: string
@Searchable = {
"fieldType": "TEXT_PARTIAL",
"addToFilters": true,
"enableAutocomplete": true,
"hasValuesFieldName": "hasAccessGroupsWrite"
}
accessGroupsWrite: string
}
The idea behind this is to feed in Table grant information into this Access tab as Custom aspect. But for further use, we want to get this searchable, to get all entities by querying like
/q customAccessRules: accessGroupsRead=AD_Readers_Security_Group
Is this possible without forking? Which index should persist this custom aspect information?aloof-gpu-11378
04/12/2023, 6:32 PMagreeable-army-26750
04/13/2023, 8:02 AMaloof-gpu-11378
04/14/2023, 4:49 PM