Fixed ACL creation for #504.

This commit is contained in:
Fosco Marotto
2016-02-22 17:33:11 -08:00
parent 1f40c0a7cd
commit 5755126525
3 changed files with 17 additions and 10 deletions

View File

@@ -262,12 +262,8 @@ function transformACL(restObject) {
wperm.push(entry);
}
}
if (rperm.length) {
output._rperm = rperm;
}
if (wperm.length) {
output._wperm = wperm;
}
output._rperm = rperm;
output._wperm = wperm;
delete restObject.ACL;
return output;
}