Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Suppose I am generating csv report using views data export, one of requirement is to remove some rows based upon some role wise conditions, means if authenticated user clicks on download it will download all the rows but if anonymous user clicks on it, It will download few of it.
any help will be highly appericiated
Thanks
Prithiraj
Comments
Comment #2
sano CreditAttribution: sano commentedin the display used for export put a filtering condition to the query (into the Filter criteria section) that checks the current user role