[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:
@@ -83,8 +83,8 @@ define(
|
||||
}
|
||||
return policyService.allow(
|
||||
"composition",
|
||||
object.getCapability('type'),
|
||||
parentCandidate.getCapability('type')
|
||||
parentCandidate.getCapability('type'),
|
||||
object.getCapability('type')
|
||||
);
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user