Commit Graph

161 Commits

Author SHA1 Message Date
Roy Wetherall
aad0c5b138 RM: Unit test fixes
* added file plan service to RM service registry



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-12 04:17:56 +00:00
Roy Wetherall
e05fe9d05c Merged V2.0 to HEAD :
44136: "RM-464: Grammatical error in disposition schedule".
   45018: RM-539 (JS Error while deleting a role)
   45019: RM-415 (RM Console - Define Roles tab - 'Select All' button is present while editing role when all the check-boxes were checked during role creation)
   45034: RM-497 (Distorted folders name after Load Test Data DODExampleFilePlan.xml)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-12 03:36:46 +00:00
Roy Wetherall
a8a44ed898 RM: Remove deprecated warnings
* from recent file plan service refactor
  * also added helper unit test used to generate a capability report



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 06:29:43 +00:00
Roy Wetherall
2956dae8e9 RM: Patch to add new "CreateRecords" capability.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 05:02:16 +00:00
Roy Wetherall
f85e45a3e7 RM: Fix up "Access Denied" issues when sending record reject notification email
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 03:30:36 +00:00
Roy Wetherall
d72f12738f RM: Add CreateRecord capability
* an assignable capability
 * performs as the missing 'filling' capability
 * also added a unassignable capability for HideRecords
 * ensures that extended writers .. ie users that have temporary filling permission on records .. can not then fileTo or reject records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-08 05:05:30 +00:00
Tuna Aksoy
13663a06c0 RM-579: Restore the creator of the document when a records manager rejects the record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-07 15:41:22 +00:00
Roy Wetherall
13417e16a1 RM: Fix up hide action after changes to extended security service.
* hide now shows only for collab users that have extended write on the record, ie fileRecord capability and filling permission



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-07 06:56:42 +00:00
Tuna Aksoy
b0110b7c76 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-06 16:05:49 +00:00
Roy Wetherall
66d9075500 RM-582: A user can edit record meta-data if they have write permissions.
* all users that had 'write' permissions on a document when it becomes a record continue to have 'file' on that record.
* these users also have EditMetadata capability
* this include the owner of the document at the time it was made a record
* extended 'read' permissions for created records continues to work in the same way
* added an extended permission service with additional method to get the writers of a node .. configured and implemented as an extension to the core and held in the RM AMP (could be moved down at a later stage if appropriate)
* patches updated
* unit tests updated (and fixed)
* content model updated to more generic 'ExtendedSecurity' aspect with writers property
* service generalised as an ExtendedSecurityService with appropriate method changes
* mandatory parameter no longer mandatory in create-record action .. fixes issues seen in unit tests and UI

NOTE:  due to the nature of this change any db's created on an earlier 2.1 dev build will need to be reset .. going from 2.0.1 onwards will, however, be fine.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-06 04:53:35 +00:00
Tuna Aksoy
fe849223df RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-05 13:01:51 +00:00
Tuna Aksoy
5c785ae22e RM-577: Code refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46157 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-03 21:22:23 +00:00
Tuna Aksoy
4bc75f4db9 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 18:03:32 +00:00
Tuna Aksoy
3ddc70cf74 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46140 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 15:35:29 +00:00
Tuna Aksoy
fb2a90ff29 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 14:36:56 +00:00
Tuna Aksoy
d08b441438 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46114 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-31 18:47:35 +00:00
Tuna Aksoy
1292aeb469 Unit test for RM-579 (The records managment team can reject an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-30 18:36:59 +00:00
Tuna Aksoy
23a18a9408 RM-579 (The records managment team can reject an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 18:46:46 +00:00
Roy Wetherall
8b70b49f79 RM-585: A user can create a rule to create a record.
* "hide record" parameter added
 * file plan service extended further
 * some simple utilities added to soak up common service code



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 07:27:53 +00:00
Roy Wetherall
8ba3c72915 RM: FileTo capability definitions
* tweak the existing capability definitions
  * add RecordFiled capability condition
  * ensure file and move are not available for unfiled records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 06:33:21 +00:00
Roy Wetherall
fcabe577a3 RM: Adjust the way the unfiled container is modelled and created.
*  means search and other navigation paths work correctly
 *  will allow the navigation of the unfiled container via other UI's and API's much easier
 *  created the file plan service
 *  methods relating to the unfiled container now encapsulated in the file plan service
 *  TODO move many of the methods in the records management service into the file plan service .. with the ultimate aim of deprecating the catch-all records management service!
 * delt with fall out from changes
 * relates to RM-583

NOTE:  you will need to recreate any db's previously created on the 2.1 development branch ... any pre-2.1 will be fine and patch correctly.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-24 05:53:41 +00:00
Tuna Aksoy
cb4501b58f HideRecordAction: Avoid unnecessary iteration
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45770 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-23 13:46:00 +00:00
Roy Wetherall
035556c8c3 RM: Remove the extended security when 'hiding' a record withing a collaboration site.
* relates to RM-583 ... ensures the records that have been hidden no longer appear in the document search results.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-23 05:03:52 +00:00
Tuna Aksoy
785f6adde3 Storing the information about the original location of a record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-22 21:57:06 +00:00
Roy Wetherall
e593bb5cb5 RM Action extensions to core service:
* rm actions can be applicable to only certain 'kinds' of RM artifacts
  * when retrieveing with context, RM actions are only applicable to RM artifacts and vice verca for DM objects
  * delegate RM action available to be configured against existing DM actions
  * unit tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-22 05:08:42 +00:00
Tuna Aksoy
ef139e4ad1 RM-577 (A user can chose to hide a record within a collaboriation site, via a UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-20 20:46:35 +00:00
Tuna Aksoy
9799247c24 RM-497 (Distorted folders name after Load Test Data DODExampleFilePlan.xml)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45035 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-02 13:03:20 +00:00
Tuna Aksoy
bab8df80e1 RM-497 (Distorted folders name after Load Test Data DODExampleFilePlan.xml)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@45034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-02 13:03:06 +00:00
Roy Wetherall
2cb5a0aa16 RM: Compilation warnings cleaned
* including deprecations caused by recent refactoring
  * all other supurious warnings



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-20 03:23:15 +00:00
Roy Wetherall
e4ea0fe02d RM: Deprecation of RecordsManagementSecurityService in favour of better encapsulated services
* final deprecation of recordsManagementSecurityService
  * origional interface and implementation moved to compatibility area
  * deprecation context added
  * FilePlanPermission service added to handle file plan permissions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-19 08:10:09 +00:00
Roy Wetherall
a2d46ff862 RM-571 - Refactor: Role Service
* deprecated approprite methods on old service
 * deprecated and moved role to new package loaction
 * fallout
 * also repackaged Record and RecordFolder services
 * TODO remove deprecation warnings



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44828 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-19 06:10:57 +00:00
Roy Wetherall
223a354b04 RM-572 - Refactor: Filling action logic moved to Record Service
* file and setup folder action removed in favour of services
  * disposition action methods consolidated in disposition service
  * vital record action methods consolidated in vital record service
  * unit test updates
  * other code fallout



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-18 07:19:37 +00:00
Roy Wetherall
516212f698 RM: Package rename
* Relates to RM-572



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44584 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-11 04:19:20 +00:00
Roy Wetherall
63643222ca RM: Fixes to creation of unfiled record
* should prevent duplicates being created
  * need to refactor creation into a service (possibly a file plan service)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-10 07:39:45 +00:00
Roy Wetherall
33ef651cfc RM-559: 2.0.1 -> 2.1 unfiled records patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-07 06:07:48 +00:00
Roy Wetherall
8b784834bc RM-557: Unfiled records service API
* fleshed out unit tests for record service
  * fixed up a couple of issues when creating records
  * unfiled record API integrated into the Record Service 
  * investigated moving filling API from actions into service (roughed out API)
  * updated create record action



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 08:38:18 +00:00
Tuna Aksoy
626f40a215 Tests for the new CapabilityService methods and CustomEMailMappingService methods
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44389 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 17:24:36 +00:00
Tuna Aksoy
5e2b8efc17 i18n support for data set labels
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 10:48:21 +00:00
Tuna Aksoy
4b8b65d023 Merged methods from the EmailMappingKeyService to CustomEmailMappingService and deleted the EMailMappingKeyService.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44324 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 16:13:30 +00:00
Tuna Aksoy
12bd033dc9 RM-563 (Add group id and title to Capability API and definitions)
* Showing the capabilities sorted in the UI

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 14:13:25 +00:00
Tuna Aksoy
3ca20e6428 RM-563 (Add group id and title to Capability API and definitions)
* Sorting capabilities

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44305 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 12:21:19 +00:00
Roy Wetherall
3e91b7ab54 RM-553 - Create record repository action & RM-554 - Create record UI action
* filled out create record action implemenation
  * added 'Create Record" action to normal document library
  * configured UI action to call back to repo action
  * TODO aciton icon



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 05:57:14 +00:00
Roy Wetherall
5e095e827a RM: A couple adjustments to the Role API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 01:55:49 +00:00
Tuna Aksoy
a06ba9d3c3 RM-563 (Add group id and title to Capability API and definitions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 22:32:42 +00:00
Tuna Aksoy
583b4412a8 RM-563 (Add group id and title to Capability API and definitions)
* Changed the Role class so that the i18n properties don't have to be maintained on both sides (server and share)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 11:41:28 +00:00
Roy Wetherall
aaab4b2c9e RM: Fallout from previous model security service changes
* we don't need to evaluate the capabilites, just need to know if the user 'has' the capability
  * added ebable/disable 
  * disabled for now since code refactor is complete, but we need to think some more about what (and why) some properties and aspects are protected



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 08:10:21 +00:00
Roy Wetherall
e7f1b2e62c RM-567: Refactor protected aspects and properties
* actions and capabilities no long linked
  * protected aspects and properties can be configured in their own right
  * protected model security service added
  * action implementation refactored accordingly
  * capability implementations refactored accordingly
  * unit tests 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 04:06:47 +00:00
Tuna Aksoy
0f7197eb25 Made Email mapping keys customisable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-30 11:54:54 +00:00
Tuna Aksoy
2e873199e3 RM-560 (Email mapping UI refactor)
RM-561 (Email mapping service API refactor)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-28 22:42:58 +00:00
Roy Wetherall
83cd918890 RM-555: Add extended reader permissions for records.
* unit tests for move
  * fixes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-28 01:03:25 +00:00