mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
[Entanglement] Allow cross-space linking
Allow links across spaces; only disallow move or copy. Addresses WTD-1587
This commit is contained in:
parent
3fd4304de1
commit
c8d77bc2db
@ -28,9 +28,7 @@ define(
|
|||||||
|
|
||||||
var DISALLOWED_ACTIONS = [
|
var DISALLOWED_ACTIONS = [
|
||||||
"move",
|
"move",
|
||||||
"copy",
|
"copy"
|
||||||
"link",
|
|
||||||
"compose"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user