add TODO note to validate accessRestriction

This commit is contained in:
Girish Ramakrishnan
2016-06-04 13:20:10 -07:00
parent ee073c91a3
commit 4068ff5f21

View File

@@ -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;
}