[Entanglement] Correctly Call Policy Service

Move, Copy, and Link services correctly call the policy service to
check whether composition is allowed.  Fixes open-1254.
This commit is contained in:
larkin
2015-06-12 09:39:24 -07:00
parent d041655546
commit c6186ae186
6 changed files with 52 additions and 11 deletions

View File

@@ -83,8 +83,8 @@ define(
}
return policyService.allow(
"composition",
object.getCapability('type'),
parentCandidate.getCapability('type')
parentCandidate.getCapability('type'),
object.getCapability('type')
);
},
/**