Commit Graph

248 Commits

Author SHA1 Message Date
Roy Wetherall
beb0d2ec30 RM-596: A records manager can create a rule that automatically files an unfiled record.
* initial action implementation added
  * can handle relative name paths to find destination record folder
  * unit test
  * TODO .. expose in UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-14 01:42:19 +00:00
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
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
Roy Wetherall
6cb7541653 RM: Permission denied exception when filling an unfiled record fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-07 22:51:59 +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
bc4f45f7c7 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-05 13:02:17 +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
336ef19c99 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@46082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-31 11:48:02 +00:00
Tuna Aksoy
a22907d254 RM-580 (A user has the option to 'file' and 'reject' an unfiled record in the list of available actions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-30 19:07:40 +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
Tuna Aksoy
8b6d7ed49c RM-578 (The records management team can file an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-27 21:44:22 +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
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
c2297a0ec0 RM-575 (Rename 'file' action in file plan to 'link')
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-14 17:10:47 +00:00
Roy Wetherall
2311e18d0a RM: Unit test fixing up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-21 04:09:10 +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
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
Tuna Aksoy
fade985057 Changed the capability and group indexes so that new capabilities/groups can be added without changing the existing indexes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-06 17:07:01 +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
ec2f72650f Tests for the REST API (for Email Mapping)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44398 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-05 23:00:59 +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
414fc1a5f3 Made the "customisableEmailMappingKeyBootstrap" bean "abstract", because it was designed to be a base helper bean
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-04 14:40:38 +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
260c2aec4b 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@44153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-29 13:52:08 +00:00