From 4068ff5f21556c986ac3139dde0fd57d9d28e02c Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 4 Jun 2016 13:20:10 -0700 Subject: [PATCH] add TODO note to validate accessRestriction --- src/apps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps.js b/src/apps.js index 2ca28c650..8a934389c 100644 --- a/src/apps.js +++ b/src/apps.js @@ -192,6 +192,7 @@ function validateAccessRestriction(accessRestriction) { if (noUsers && noGroups) return new AppsError(AppsError.BAD_FIELD, 'users and groups array cannot both be empty'); + // TODO: maybe validate if the users and groups actually exist return null; }