diff --git a/src/backend/src/om/entitystorage/AppES.js b/src/backend/src/om/entitystorage/AppES.js
index 5689190ca..446322345 100644
--- a/src/backend/src/om/entitystorage/AppES.js
+++ b/src/backend/src/om/entitystorage/AppES.js
@@ -17,7 +17,7 @@
* along with this program. If not, see .
*/
const APIError = require("../../api/APIError");
-const { app_name_exists, get_user, refresh_apps_cache } = require("../../helpers");
+const { app_name_exists, refresh_apps_cache } = require("../../helpers");
const { AppUnderUserActorType } = require("../../services/auth/Actor");
const { DB_WRITE } = require("../../services/database/consts");
@@ -35,6 +35,13 @@ class AppES extends BaseES {
const services = this.context.get('services');
this.db = services.get('database').get(DB_WRITE, 'apps');
},
+
+ /**
+ * Creates query predicates for filtering apps
+ * @param {string} id - Predicate identifier
+ * @param {...any} args - Additional arguments for predicate creation
+ * @returns {Promise} Query predicate object
+ */
async create_predicate (id, ...args) {
if ( id === 'user-can-edit' ) {
return new Eq({
@@ -53,6 +60,12 @@ class AppES extends BaseES {
const svc_appInformation = this.context.get('services').get('app-information');
await svc_appInformation.delete_app(uid);
},
+
+ /**
+ * Filters app selection based on user permissions and visibility settings
+ * @param {Object} options - Selection options including predicates
+ * @returns {Promise