Modified composition policies to consider object instances instead of types. Fixes #669

This commit is contained in:
Henry
2017-03-24 16:59:30 -07:00
parent 399b745084
commit 1cb5dd021f
11 changed files with 25 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ define(
}
return this.policyService.allow(
"composition",
parentCandidate.getCapability('type'),
parentCandidate,
object
);
};

View File

@@ -51,7 +51,7 @@ define(
}
return this.policyService.allow(
"composition",
parentCandidate.getCapability('type'),
parentCandidate,
object
);
};

View File

@@ -55,7 +55,7 @@ define(
}
return this.policyService.allow(
"composition",
parentCandidate.getCapability('type'),
parentCandidate,
object
);
};