Merge branch 'main' into avm99963-monorail

Merged commit 3779da353b36d43cf778e7d4f468097714dd4540

GitOrigin-RevId: 6451a5c6b75afb0fd1f37b3f14521148d0722ea8
diff --git a/search/backendnonviewable.py b/search/backendnonviewable.py
index 23b601c..ab751a4 100644
--- a/search/backendnonviewable.py
+++ b/search/backendnonviewable.py
@@ -37,8 +37,7 @@
 NONVIEWABLE_MEMCACHE_EXPIRATION = 15 * framework_constants.SECS_PER_MINUTE
 
 
-# Change to FlaskInternalTask
-class BackendNonviewable(jsonfeed.InternalTask):
+class BackendNonviewable(jsonfeed.FlaskInternalTask):
   """JSON servlet for getting issue IDs that the specified user cannot view."""
 
   CHECK_SAME_APP = True
@@ -137,8 +136,8 @@
 
     return ok_iids
 
-  # def GetBackendNonviewable(self, **kwargs):
-  #   return self.handler(**kwargs)
+  def GetBackendNonviewable(self, **kwargs):
+    return self.handler(**kwargs)
 
-  # def PostBackendNonviewable(self, **kwargs):
-  #   return self.handler(**kwargs)
+  def PostBackendNonviewable(self, **kwargs):
+    return self.handler(**kwargs)