[Entanglement] Allow cross-space linking

Allow links across spaces; only disallow move or copy.
Addresses WTD-1587
This commit is contained in:
Victor Woeltjen 2015-11-30 15:26:00 -08:00
parent 3fd4304de1
commit c8d77bc2db
2 changed files with 2 additions and 4 deletions

View File

@ -28,9 +28,7 @@ define(
var DISALLOWED_ACTIONS = [ var DISALLOWED_ACTIONS = [
"move", "move",
"copy", "copy"
"link",
"compose"
]; ];
/** /**

View File

@ -72,7 +72,7 @@ define(
policy = new CrossSpacePolicy(); policy = new CrossSpacePolicy();
}); });
['move', 'copy', 'link', 'compose'].forEach(function (key) { ['move', 'copy'].forEach(function (key) {
describe("for " + key + " actions", function () { describe("for " + key + " actions", function () {
beforeEach(function () { beforeEach(function () {
testActionMetadata.key = key; testActionMetadata.key = key;