instead of hard-coded to discover/read/download. It can be useful to be able to filter a solr query by whether the current user can "edit" for instance. But rather than hard-code a certain list of permissions, could it be extended to allow arbitrary permissions, just know that $perm is in a field $perm_group_ssim etc?
instead of hard-coded to discover/read/download. It can be useful to be able to filter a solr query by whether the current user can "edit" for instance. But rather than hard-code a certain list of permissions, could it be extended to allow arbitrary permissions, just know that $perm is in a field
$perm_group_ssimetc?