From 1fb6fb425b443f8c55d04f69f8009f68b5491caf Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 12 Feb 2014 19:38:45 -0800 Subject: [PATCH] CSPACE-6301: Change configuration for the cs_default and cs_locking lifecycles to allow for transition from deleted to undeleted ('project') workflow state. Adjust client test to reflect the addition of two new permissions-related resources for the undelete workflow transition. --- .../OSGI-INF/default-life-cycle-contrib.xml | 14 ++++++++++++-- .../client/test/PermissionServiceTest.java | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml index 4b63194bb..14c955b5f 100644 --- a/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml +++ b/3rdparty/nuxeo/nuxeo-platform-collectionspace/src/main/resources/OSGI-INF/default-life-cycle-contrib.xml @@ -17,6 +17,9 @@ Move document to trash (temporary delete) + + Undelete the document. + @@ -25,7 +28,9 @@ - + + undelete + @@ -43,6 +48,9 @@ Move document to trash (temporary delete) + + Undelete the document. + @@ -55,7 +63,9 @@ - + + undelete + diff --git a/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java b/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java index 982eaa151..4d2e26365 100644 --- a/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java +++ b/services/authorization-mgt/client/src/test/java/org/collectionspace/services/authorization/client/test/PermissionServiceTest.java @@ -146,7 +146,7 @@ public class PermissionServiceTest extends AbstractServiceTestImpl