Closed chompomonim closed 7 years ago
I don't know why, but in roles.js
(look from line407) even when forbiddenFields
equal []
for will still iterate and forbiddenFields[i]
will be equal:
unique function () {
var i, key, output, ref, results, value
output = {};
for (key = i = 0, ref = this.length; 0 <= ref ? i < ref : i > ref; key = 0 <= ref ? ++i : --i) {
I20161231-00:10:54.362(2)? output[this[key]] = this[key];
}
results = [];
for (key in output) {
value = output[key];
results.push(value);
}
return results;
}
Will open poll request with fix.
I'm getting error on edit documents in any collection:
After reverting into 1.5.3 everything works fine.