Commit Graph

5254 Commits

Author SHA1 Message Date
David Webster
fee1e42883 Minor Build modification: attach classes as part of the build.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@111092 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 10:54:18 +00:00
Alexandru Balan
9801cda751 Merged BRANCHES/V2.3 to HEAD:
111065: Merged BRANCHES/V2.2 to BRANCHES/V2.3:
      111064: RM-2391 - also check for the access audit capability on each node from the report

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@111067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 06:23:49 +00:00
Alexandru Balan
1e3a3316f0 Merged BRANCHES/V2.2 to BRANCHES/V2.3:
111064: RM-2391 - also check for the access audit capability on each node from the report

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@111065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 06:12:58 +00:00
Alexandru Balan
86f8c7de37 RM-2391 - also check for the access audit capability on each node from the report
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@111064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 06:09:45 +00:00
Roy Wetherall
86553731a6 RM-2567
The trashcan should not display the deleted documents that have been destroyed by the Data Cleanser

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@111062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-28 00:26:12 +00:00
David Webster
8234e0bbf6 RM-2565: Add node data to repo items too so that documents not in a site also have classified labels.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110987 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-27 08:18:03 +00:00
David Webster
bfef427ef1 RM-2561: full node properties only exist for documents, but search might include non-documents so allow for missing nodeJSON.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-26 15:19:12 +00:00
Neil McErlean
6d5b0f21e7 Fix for RM-2549. The copyAspect implementation needs to be very careful to use addProperties not setPropertiesand it also needs to not copy inherited properties.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110844 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-25 16:12:45 +00:00
Gloria Broadbent
3abde1662f SIMPLIFIED CHINESE: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:48:21 +00:00
Gloria Broadbent
37ef799c3a BRAZILIAN PORTUGUESE: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:47:25 +00:00
Gloria Broadbent
adf570423b RUSSIAN: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:46:36 +00:00
Gloria Broadbent
f52455024b DUTCH: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:45:27 +00:00
Gloria Broadbent
c9d82b78df NORWEGIAN (Bokmal): Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110674 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:44:43 +00:00
Gloria Broadbent
24a0664211 JAPANESE: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:43:54 +00:00
Gloria Broadbent
0a28fdef45 ITALIAN: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110672 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:43:05 +00:00
Gloria Broadbent
8fa12b4a28 FRENCH: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:41:50 +00:00
Gloria Broadbent
781d029250 SPANISH: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:41:14 +00:00
Gloria Broadbent
62169b4384 GERMAN: Updated RM 3.0 bundle based on EN-RM-rev110155 and fix for RM-2523
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-24 10:40:31 +00:00
David Webster
3d30cf3b2a RM-2501: New RM API, mirroring existing slingshot search API but adds in full node details to results.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-20 14:22:56 +00:00
Roy Wetherall
0fc141e8be Merged DEV/ROYTEST to HEAD:
109931: Classification enforcement refactor
   110013: Classification enforecment refactor
       * rename veto as permission pre-processor
       * add support for permission post-processors
       * add transaction cache to classification enforcement
       * add records management permission post processor to remove code from extended permission service
   110191: Extended permission service unit test
   110301: Classification permission pre-processor unit test

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110507 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-20 02:51:23 +00:00
Tuna Aksoy
d76c05bb5f RM-2533 (Extend service API to retrieve and set last reclassified information)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-19 19:14:40 +00:00
Alexandru Balan
6f1e8d7c1d Merged BRANCHES/V2.3 to HEAD:
Merged BRANCHES/V2.2 to BRANCHES/V2.3:
      109406: RM-2271 - added the job lock refresh mechanism so that for long running jobs that exceed the locks TTL the lock will be refreshed.
      109401: RM-2391 - Added capability checking to the AuditLog Get REST API. Added a unit test. Minor changes on the Share side to forward the forbidden status.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-19 14:17:10 +00:00
Alexandru Balan
2c563b88c6 Merged BRANCHES/V2.2 to BRANCHES/V2.3:
109406: RM-2271 - added the job lock refresh mechanism so that for long running jobs that exceed the locks TTL the lock will be refreshed.
   109401: RM-2391 - Added capability checking to the AuditLog Get REST API. Added a unit test. Minor changes on the Share side to forward the forbidden status.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@110464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-19 14:08:27 +00:00
Neil McErlean
8c6d660de7 Fix for RM-2547. Added URL decoding to the username provided to the Security Clearance REST API.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110454 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-19 12:13:54 +00:00
Neil McErlean
6260daed0c Speculative fix for RM-2530. This commit explicitly checks the FreezeService to ensure that, on classification, the node in question is not in a hold.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-18 12:31:42 +00:00
Tuna Aksoy
fda676e74f Added the ClassifyTest back to the suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110314 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-18 09:41:52 +00:00
Tuna Aksoy
463ff10b1a Removed temporarily the ClassifyTest from the test suite as the amp files are not being uploaded due to a failing test in ClassifyTest class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-18 09:23:35 +00:00
Roy Wetherall
75845b5d00 Classification permission pre-processor unit test
+review RM-166



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ROYTEST@110301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-18 04:38:47 +00:00
Roy Wetherall
2eb7bc918c Extended permission service unit test
+review RM-166



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ROYTEST@110191 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-17 04:35:31 +00:00
Neil McErlean
4d0c6fcff6 Addressing code review comments. Part of RM-2481, RM-2482, RM-2483 and RM-2489.
Mostly removing unnecessary Hamcrest matchers to make the code a little less verbose. Good!


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-14 17:29:44 +00:00
Tom Page
d359e6f1ff RM-2502 Create new constraint for initial classification.
Previously we were restricting the initial classification to be a level
that the current user could access, but this is not always the case for
downgraded content.

Also add new integration test for initial classification constraint.

I tried adding a test that extended our BaseRMTestCase, but the
transactions all happened as system (or admin maybe?), and so the level 2
user is always allowed to reclassify level 1 content (by the constraint).
Consequently I ended up creating a stand-alone test for this.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-14 13:34:56 +00:00
Tom Page
2f84c84877 RM-2529 Add classified aspect as system rather than the user "admin".
This change causes ClassifyTest.testClassifyFrozenRecord() to fail. The
test is accurately reflecting a bug in the server that this change reveals
(or introduces).  See RM-2530.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110137 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-14 12:48:57 +00:00
Neil McErlean
3fceea8655 Implementation and unit tests for RM-2481, RM-2482, RM-2483 and RM-2489.
This checkin adds behaviours for ensuring that classification aspect/properties are correclty copied between nodes and their renditions on the creation of new renditions, on the classification or reclassification of nodes with existing renditions.

To do this I needed what should be, in my opinion, a common Alfresco utility method - the ability to copy an aspect from one node to another (aspect meaning property group i.e. no assocs).
I've created that method and put it in CoreServicesExtras. It should really be moved to core.

+ review RM


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-13 16:29:38 +00:00
Roy Wetherall
42d26a6c2b Classification enforecment refactor
* rename veto as permission pre-processor
  * add support for permission post-processors
  * add transaction cache to classification enforcement
  * add records management permission post processor to remove code from extended permission service 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ROYTEST@110013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-13 03:46:43 +00:00
Tom Page
5e4ecae6e2 RM-2484 RM-2486 Tests for adding and deleting entities.
+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-12 07:23:38 +00:00
Roy Wetherall
d0cecbd4fa Classification enforcement refactor
* added permission veto registry
 * extend permission service to check vetos before permission evaluation
 * register classification veto
 * unit and integration tests run
 * UI tests run



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ROYTEST@109931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-12 04:57:37 +00:00
Roy Wetherall
e68592601a Test branch for exploritory work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ROYTEST@109930 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-12 00:51:26 +00:00
Roy Wetherall
7844c33db3 Remove rendition creation from test for the time being.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-12 00:17:25 +00:00
Roy Wetherall
a695f30686 RM-2509: The destruction of electronic records is not possible as it gets ghosted before destruction.
* unit test added to reproduce issue



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-11 04:18:12 +00:00
Tom Page
8e4972b9f7 RM-2500 Enable editing of classification scheme.
Allow adding and removing classification levels, classification reasons and
exemption categories after the server has been started for the first time.
It is also possible to alter the display text associated with an existing
level, reason or category.  All changes require a server restart.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-10 13:45:44 +00:00
Tom Page
1fc287b240 RM-2477 Treat the empty string in the same way as null.
Fix an issue in the behaviour checking where the empty string was being
passed as the instructions when nothing was set.

+review RM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109843 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-10 10:24:57 +00:00
Tuna Aksoy
5e8cc326ca Fixed dependency issue ant removed ant as a dependecy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109779 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-07 12:32:14 +00:00
Roy Wetherall
264d45c7a0 Remove catch Throwables identified by Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109736 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-07 02:57:57 +00:00
Roy Wetherall
89ad85b8ad Fixed dependency issue locally and on Bamboo
+review RM



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109734 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-07 02:24:30 +00:00
Roy Wetherall
87d5c76f90 Acceptance Criteria Automation for RM-1997: Content store data cleansing
* added @AlfrescoTest annotation dependency to help track AC's back to JIRA
 * feedback from previous review
 * see RM-2460, RM-2461, RM-2462, RM-2505, RM-2506, RM-2507

+review RM 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109733 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-07 02:04:51 +00:00
Tuna Aksoy
0a52f24c6a RM-2402 (Extend classification schedule REST API)
RM-2433 (Extend reclassification REST API)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-06 22:10:14 +00:00
Neil McErlean
0da87474c5 RM-2440. Ensuring that users reclassifying content see the correct set of levels.
Added a new test case where an admin and an RM Manager (only cleared to secret) both try to reclassify a record.
Added a new group (GROUP_RM_MANAGER_FILE_CATEGORY_ONE) for an RM Manager who can file records as well as read.
Added some utility methods and fields.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-04 11:20:07 +00:00
Neil McErlean
d137e45e7e Addition of numerous i18n properties as part of the classified-content model.
These had been missing and were pointed out in a code review of RM-2431 and RM-2432.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@109413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-03 09:46:08 +00:00
Alexandru Balan
5a45f6d1d1 RM-2271 - added the job lock refresh mechanism so that for long running jobs that exceed the locks TTL the lock will be refreshed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@109406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-03 09:27:17 +00:00
Alexandru Balan
2e1d81ef2e RM-2391 - Added capability checking to the AuditLog Get REST API. Added a unit test. Minor changes on the Share side to forward the forbidden status.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@109401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-08-03 08:43:40 +00:00