diff --git a/src/wp-admin/includes/class-wp-comments-list-table.php b/src/wp-admin/includes/class-wp-comments-list-table.php
old mode 100644
new mode 100755
index e7707daba9..5debb51225
--- a/src/wp-admin/includes/class-wp-comments-list-table.php
+++ b/src/wp-admin/includes/class-wp-comments-list-table.php
@@ -357,7 +357,11 @@ class WP_Comments_List_Table extends WP_List_Table {
 	protected function get_bulk_actions() {
 		global $comment_status;
 
-		$actions = array();
+		if ( ! current_user_can( 'moderate_comments' ) ) {
+	        return array(); // Return an empty array if the user doesn't have permission
+	    }
+
+	    $actions = array();
 
 		if ( in_array( $comment_status, array( 'all', 'approved' ), true ) ) {
 			$actions['unapprove'] = __( 'Unapprove' );
