Added full evaluation of SERVERwide permissions

This commit is contained in:
hydrabolt
2015-10-03 21:35:28 +01:00
parent cd91a384bd
commit 8f4e6e34d5
5 changed files with 88 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ var Channel = (function () {
for (var _iterator = data.permission_overwrites[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var role = _step.value;
this.roles.push(new ChannelPermissions());
this.roles.push(new ChannelPermissions(role));
}
//this.isPrivate = isPrivate; //not sure about the implementation of this...