summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-09-19 15:43:04 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-09-19 15:43:04 +0200
commitad863889617bd143ff78563386968a2c8bfbcee7 (patch)
treeae5a7fe7d5f5659e5579056bf11a8852e5915791
parentf7df981d031e360b379b86d9aefdde15b918b21f (diff)
Redistribute Admin role amongst description editing activities. Anyonecristal-kernel-2.4.1
can create new versions, only Admin can shift existing ones.
-rw-r--r--src/main/resources/boot/EA/AssignNewVersionFromLast.xml2
-rw-r--r--src/main/resources/boot/EA/EditActivityDef.xml2
-rw-r--r--src/main/resources/boot/EA/EditModuleDefinition.xml22
-rw-r--r--src/main/resources/boot/EA/EditSchema.xml2
-rw-r--r--src/main/resources/boot/EA/EditScriptDefinition.xml2
-rw-r--r--src/main/resources/boot/EA/MoveLatestVersionToLast.xml20
6 files changed, 44 insertions, 6 deletions
diff --git a/src/main/resources/boot/EA/AssignNewVersionFromLast.xml b/src/main/resources/boot/EA/AssignNewVersionFromLast.xml
index 248dfee..73162a4 100644
--- a/src/main/resources/boot/EA/AssignNewVersionFromLast.xml
+++ b/src/main/resources/boot/EA/AssignNewVersionFromLast.xml
@@ -9,7 +9,7 @@
<KeyValuePair Key="SchemaVersion" String=""/>
<KeyValuePair Key="Show time" Boolean="true"/>
<KeyValuePair Key="Viewpoint" String=""/>
- <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="Agent Role" String=""/>
<KeyValuePair Key="SchemaType" String=""/>
<KeyValuePair Key="ScriptName" String="CreateNewNumberedVersionFromLast"/>
<KeyValuePair Key="Ignorable" Boolean="false"/>
diff --git a/src/main/resources/boot/EA/EditActivityDef.xml b/src/main/resources/boot/EA/EditActivityDef.xml
index e90c225..22ccc0a 100644
--- a/src/main/resources/boot/EA/EditActivityDef.xml
+++ b/src/main/resources/boot/EA/EditActivityDef.xml
@@ -9,7 +9,7 @@
<KeyValuePair Key="SchemaVersion" String="0"/>
<KeyValuePair Key="Show time" Boolean="true"/>
<KeyValuePair Key="Viewpoint" String="last"/>
- <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="Agent Role" String=""/>
<KeyValuePair Key="SchemaType" String=""/>
<KeyValuePair Key="ScriptName" String=""/>
<KeyValuePair Key="Ignorable" Boolean="false"/>
diff --git a/src/main/resources/boot/EA/EditModuleDefinition.xml b/src/main/resources/boot/EA/EditModuleDefinition.xml
index 04afe4d..0214781 100644
--- a/src/main/resources/boot/EA/EditModuleDefinition.xml
+++ b/src/main/resources/boot/EA/EditModuleDefinition.xml
@@ -1 +1,21 @@
-<ActivityDef ID="-1" Name="EditModuleDefinition" Height="0" Width="0" IsLayoutable="false" IsComposite="false"><Properties><KeyValuePair Key="Description" String=""/><KeyValuePair Key="Ignorable" Boolean="false"/><KeyValuePair Key="ScriptVersion" String=""/><KeyValuePair Key="Mail Message" String=""/><KeyValuePair Key="Viewpoint" String="last"/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="SchemaVersion" String="0"/><KeyValuePair Key="Skippable" Boolean="false"/><KeyValuePair Key="ScriptName" String=""/><KeyValuePair Key="Mail event" String=""/><KeyValuePair Key="Autostart" Boolean="true"/><KeyValuePair Key="Repeatable" Boolean="false"/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="AlwaysUseOutcome" Boolean="false"/><KeyValuePair Key="SchemaType" String="Module"/></Properties></ActivityDef> \ No newline at end of file
+<ActivityDef ID="-1" Name="EditModuleDefinition" Height="0"
+ Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="Description" String="" />
+ <KeyValuePair Key="Ignorable" Boolean="false" />
+ <KeyValuePair Key="ScriptVersion" String="" />
+ <KeyValuePair Key="Mail Message" String="" />
+ <KeyValuePair Key="Viewpoint" String="last" />
+ <KeyValuePair Key="Agent Name" String="" />
+ <KeyValuePair Key="SchemaVersion" String="0" />
+ <KeyValuePair Key="Skippable" Boolean="false" />
+ <KeyValuePair Key="ScriptName" String="" />
+ <KeyValuePair Key="Mail event" String="" />
+ <KeyValuePair Key="Autostart" Boolean="true" />
+ <KeyValuePair Key="Repeatable" Boolean="false" />
+ <KeyValuePair Key="Show time" Boolean="true" />
+ <KeyValuePair Key="Agent Role" String="" />
+ <KeyValuePair Key="AlwaysUseOutcome" Boolean="false" />
+ <KeyValuePair Key="SchemaType" String="Module" />
+ </Properties>
+</ActivityDef> \ No newline at end of file
diff --git a/src/main/resources/boot/EA/EditSchema.xml b/src/main/resources/boot/EA/EditSchema.xml
index 3b01fdc..b187414 100644
--- a/src/main/resources/boot/EA/EditSchema.xml
+++ b/src/main/resources/boot/EA/EditSchema.xml
@@ -9,7 +9,7 @@
<KeyValuePair Key="SchemaVersion" String="0"/>
<KeyValuePair Key="Show time" Boolean="true"/>
<KeyValuePair Key="Viewpoint" String="last"/>
- <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="Agent Role" String=""/>
<KeyValuePair Key="SchemaType" String="Schema"/>
<KeyValuePair Key="ScriptName" String=""/>
<KeyValuePair Key="Ignorable" Boolean="false"/>
diff --git a/src/main/resources/boot/EA/EditScriptDefinition.xml b/src/main/resources/boot/EA/EditScriptDefinition.xml
index 11c14ec..d213e29 100644
--- a/src/main/resources/boot/EA/EditScriptDefinition.xml
+++ b/src/main/resources/boot/EA/EditScriptDefinition.xml
@@ -8,7 +8,7 @@
<KeyValuePair Key="Description" String="Edit this script definition"/>
<KeyValuePair Key="SchemaVersion" String="0"/>
<KeyValuePair Key="Show time" Boolean="true"/>
- <KeyValuePair Key="Agent Role" String="Admin"/>
+ <KeyValuePair Key="Agent Role" String=""/>
<KeyValuePair Key="Viewpoint" String="last"/>
<KeyValuePair Key="SchemaType" String="Script"/>
<KeyValuePair Key="Ignorable" Boolean="false"/>
diff --git a/src/main/resources/boot/EA/MoveLatestVersionToLast.xml b/src/main/resources/boot/EA/MoveLatestVersionToLast.xml
index cca4392..9dbf3ac 100644
--- a/src/main/resources/boot/EA/MoveLatestVersionToLast.xml
+++ b/src/main/resources/boot/EA/MoveLatestVersionToLast.xml
@@ -1 +1,19 @@
-<ActivityDef ID="-1" Name="MoveLatestVersionToLast" Height="0" Width="0" IsLayoutable="false" IsComposite="false"><Properties><KeyValuePair Key="OutcomeInit" String=""/><KeyValuePair Key="Description" String=""/><KeyValuePair Key="ScriptVersion" String="0"/><KeyValuePair Key="Viewpoint" String=""/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="SchemaVersion" String=""/><KeyValuePair Key="ScriptName" String="SetLastNumberedVersionToLast"/><KeyValuePair Key="Breakpoint" Boolean="false"/><KeyValuePair Key="StateMachineVersion" Integer="0"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="StateMachineName" String="Default"/><KeyValuePair Key="Version" Integer="0"/><KeyValuePair Key="SchemaType" String=""/></Properties></ActivityDef> \ No newline at end of file
+<ActivityDef ID="-1" Name="MoveLatestVersionToLast" Height="0"
+ Width="0" IsLayoutable="false" IsComposite="false">
+ <Properties>
+ <KeyValuePair Key="OutcomeInit" String="" />
+ <KeyValuePair Key="Description" String="" />
+ <KeyValuePair Key="ScriptVersion" String="0" />
+ <KeyValuePair Key="Viewpoint" String="" />
+ <KeyValuePair Key="Agent Name" String="" />
+ <KeyValuePair Key="SchemaVersion" String="" />
+ <KeyValuePair Key="ScriptName" String="SetLastNumberedVersionToLast" />
+ <KeyValuePair Key="Breakpoint" Boolean="false" />
+ <KeyValuePair Key="StateMachineVersion" Integer="0" />
+ <KeyValuePair Key="Agent Role" String="Admin" /><!-- because it can break existing descriptions -->
+ <KeyValuePair Key="Show time" Boolean="true" />
+ <KeyValuePair Key="StateMachineName" String="Default" />
+ <KeyValuePair Key="Version" Integer="0" />
+ <KeyValuePair Key="SchemaType" String="" />
+ </Properties>
+</ActivityDef> \ No newline at end of file