| @@ -2586,8 +2586,11 @@ | ||
| 2586 | 2586 | * Add full export to CSV and JSON buttons |
| 2587 | 2587 | * Needs to be granted in project page configuration |
| 2588 | 2588 | */ |
| 2589 | 2589 | protected function add_full_table_downloads() { |
| 2590 | + if ( !WPDA::current_user_is_admin() ) { | |
| 2591 | + return; | |
| 2592 | + } | |
| 2590 | 2593 | } |
| 2591 | 2594 | |
| 2592 | 2595 | // Override to add arguments to CSV and JSON full table exports. |
| 2593 | 2596 | protected function add_full_table_downloads_add_args() { |