--- /dev/null
+/**
+ * Implements hook_views_plugins_access_alter().
+ */
+function {{ machine_name }}_views_plugins_access_alter(array &$plugins) {
+ // Remove the available plugin because the users should not have access to it.
+ unset($plugins['role']);
+}