Commit Graph

376 Commits

Author SHA1 Message Date
Roy Wetherall
46d3b18177 RM-804: Should a user granted Site Manager role be able to delete the Records Management site?
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-09 05:25:45 +00:00
Tuna Aksoy
89e010401a RM-1034 (Inbound Content Rule executes after creating a new reference)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56387 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 14:06:40 +00:00
Tuna Aksoy
2449981609 RM-1051 (Outbound rule is executed when record references are deleted)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 12:18:21 +00:00
Roy Wetherall
54ce637b20 RM-1053: Error cause when Rule "Set property value" try change not enable for editing property
* property value subsitution now available on setProperty action (in RM)
 * this means properties can be set based on other property values or date context
 * provides a (simple atm) means of defining a id generation scheme scoped by file plan context



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 05:52:50 +00:00
Roy Wetherall
48bcd03bd9 RM-1039: Can't move folder to Category with disposition schedule.
* improve general reliability of record folder move
  * fix up some issues with the way composite capabilities where being evaluated
  * use capabilities to enforce conditions of move .. not behavior .. this improves the visibility of the move action in the UI
  * unit test
  * reproduced and fixed up UI issue .. was showing No Items red banner in a very specific edge case



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-08 04:22:34 +00:00
Roy Wetherall
6090a21fd8 RM-1043: Inbound Rule "request info" start workflow if complete record move to folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-04 08:05:53 +00:00
Roy Wetherall
fafb5f9d80 RM-1027: Can't copy closed folder.
* then you copy a closed record folder the copy will not be closed
 * ensured that disposition details are freshed when copying a record folder



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 01:45:40 +00:00
Roy Wetherall
b1c2d05a75 RM-1030: Can't run Freeze Rule if sub-folder record is freezed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-03 00:21:54 +00:00
Roy Wetherall
3f92fef4de RM-1021: It's possible to create record for synced content in folder with create record updated rule
* improve stability when defining update rules in collab site



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-02 07:55:34 +00:00
Roy Wetherall
b86621ce5c RM-819: Only the creating user can move a record
RM-942: It's possible to move/copy/link to/from and delete from closed folder

  * general reliability of copy/link/move record actions improved
  * MoveRecords capability added as assignable
  * various scenarios tested and documented expected behaviour on related issues




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-02 04:11:21 +00:00
Roy Wetherall
7ff26e1158 RM-1008: It's possible to Edit Hold Details by user with suitable rights BUT with Read Only permissions in File Plan
* hold and transfer container permissions are set up the same as unfiled .. they can not be explicitly set .. instead they inherit from file plan
  * holds and transfers inherit permissions from the containers .. in turn they are effected by changes to overall fileplan permissions
  * in the future explicit permissions will be able to be set or implied but the held or transfered records
  * edit freeze details capability requires filling permission
  * unit test for the various scenarios



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-01 07:28:31 +00:00
Roy Wetherall
b042674eab RM-1007: Couldn't Freeze the folder/record by any user except RM admin
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-10-01 01:49:29 +00:00
Roy Wetherall
070b3cf91e RM-996: Reject action is available for destruction report
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56136 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-30 00:16:32 +00:00
Roy Wetherall
565f2479d7 RM-994: Records filed from unfiled container do not pick up vital record review period or disposition schedule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56135 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-29 12:20:23 +00:00
Roy Wetherall
87574612dd RM-1000: Internal Error if open details page of record referenced to record the user have no permissions to
* users will only see references when they have ViewRecords capability on both ends



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56133 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-29 03:15:11 +00:00
Roy Wetherall
3e79550acb RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
* removed overriden rule service method level security



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 14:57:51 +00:00
Roy Wetherall
06625fb26f RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 13:22:51 +00:00
Roy Wetherall
7c03089524 RM-991: Failed to applay patch AVMToADMRemoteStorePatch during upgrade from 3.4.13 to 4.2.0 with RM on Postgres
* all rm module patches are executed in their own transaction
 * all behaviours are turned off when executing a rm module patch



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56088 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 12:38:46 +00:00
Roy Wetherall
8c96aad8f0 RM-942: It's possible to move/copy/link to/from and delete from closed folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 08:21:32 +00:00
Roy Wetherall
5e8ffa4634 RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 03:26:46 +00:00
Roy Wetherall
07fa31bf79 RM: Typo in if statement
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-27 01:43:03 +00:00
Craig Tan
ade9cb4887 RM-880 Cannot upload file into RM site over FTP/NFS file protocols
- Modified onRemoveAspect methods to only switch file name back to the format of "name (identifierId)" if content size is non-zero, else leave it as the original name to avoid CIFS shuffling issues. This fixes the issue seen on Windows Explorer and also allows files on Mac to be dragged across to RM via Finder (hence no more Error Code -43). However, there is still one outstanding issue with Mac and that is the copied files won't get renamed.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56015 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 08:39:56 +00:00
Roy Wetherall
5b709487c9 RM-880: Cannot upload file into RM site over FTP/NFS file protocols
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 05:55:51 +00:00
Roy Wetherall
77a9b6b8d2 RM: Merged BRANCHES/2.0.1.x To HEAD
55998: [RM-904][MNT-9589] Actions are missing within Records Management Site for Record Series and its children.  
        Add DOD5015 constants for old style audit entries.  Modify callback to look for and parse existing DOD5015 audit entries.  
        Add query to look for DOD5015 audit entries.  This call must be before the query for RM entries for the report to be ordered correctly.   



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 05:14:25 +00:00
Roy Wetherall
1ca6691beb Merged BRANCHES/2.0.1.x to HEAD:
55708: [RM-904] Actions are missing within Records Management Site for Record Series and its children. Patches are implemented as components.  Components are loaded in a single thread. The work of a patch should be wrapped in its own transaction to isolate it from the changes of other patches and allowing patches to commit work before working on the next patch.Moved all work of RMv2ModelPatch into the RetryingTransactionCallback.  RetryingTransactionHelper set to create new thread.
Add RetryingTransactionHelper to RMv2FilePlanNodeRefPatch. Move all of the work of the patch into the callback.  Helper creates new thread.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 04:57:47 +00:00
Roy Wetherall
edde3b929b RM-988: I18N id's not being looked up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 02:44:15 +00:00
Roy Wetherall
44c1fef683 RM-989: Can create a folder within a Record Folder in CIFS which breaks the Share UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:58:09 +00:00
Roy Wetherall
c69c9964cc RM-880: Cannot upload file into RM site over FTP/NFS file protocols
* if record has NO_CONTENT when assoc is created, postpone filling untill NO_CONTENT is removed



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@56006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-26 01:30:50 +00:00
Roy Wetherall
402110f843 RM-982: Normal user can File and Reject record they declared.
* FileUnfiledRecords and RejectRecords are now assignable capabilities
  * by default Admin, Records Manager, Security Manager and Power User have them
  * they can be added and removed from custom or default roles via the management UI
  * capability patch updated accordingly
  * extedned get roles ReST API to include/exclude system roles
  * In-Place Reader and In-Place Writer roles capabilities are configurable again, but their users and groups are not (as intended)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-25 07:05:10 +00:00
Roy Wetherall
20efaab647 RM-911: User is prevented from changing the RM site's visibility to anything but public
* this is only enforced in the repository atm



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55871 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-24 05:42:00 +00:00
Roy Wetherall
6d9e315802 RM-183: All Language Packs: translation errors - Records Management site
* role groups wheren't being created with the resolved display label
 * I18N'ed the name of the 'all roles' group



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-24 05:03:57 +00:00
Gethin James
e56eb422a4 Various translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-20 14:12:37 +00:00
Roy Wetherall
c677956ccb RM-975: Unable to change the name of a vital folder that contains a frozen record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55513 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 05:56:32 +00:00
Roy Wetherall
ce269f12b7 RM-424: Site-admin user using CIFS cannot open document after declaring it as a record.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 05:10:38 +00:00
Tuna Aksoy
5d1e918c3e RM-972 (RM is not backwards compatible with the Community version)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55439 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 09:15:36 +00:00
Roy Wetherall
8ca1a310af RM-967: Disposition actions appearing for records when disposition set to record folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 03:37:09 +00:00
Roy Wetherall
c40d3e4310 RM: Fix unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55373 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 02:39:51 +00:00
Roy Wetherall
2e89f0a43a RM-956: Destroy action is appearing unexpectedly
* destroy always capability has been deprecated .. it's highly confussing and isn't nessesary when delete is available
 * can be configured back in easily if required, but wasn't working in 2.0 so highly unlikely to be needed



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 02:07:03 +00:00
Roy Wetherall
90a63d7c71 RM-895: Ensure RM actions with side effects don't try and execute if things are frozen
RM-965: Unable to declare a record from the repository view.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 00:52:58 +00:00
Gethin James
11ec6eea5f Some translations fixes for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55348 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 15:18:32 +00:00
Craig Tan
80699e423e RM-924 Rule is executed incorrect if Edit Disposition Instructions
RM-923 Several actions don't trigger the updated rule
RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff

- Added dispositionActionDefinition to the list of types to be ignored by rule triggering just so that 'edit disposition steps' will not cause update rules to be triggered to avoid confusion.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55313 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 07:40:44 +00:00
Roy Wetherall
a7fc23dc6b RM-880: Cannot upload file into RM site over FTP/NFS file protocols
RM-881: Cannot rename a record over file protocols



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 08:40:09 +00:00
Craig Tan
309cb8c396 RM-925 The updated rule is triggered several timce by complete/undo event, cutoff/undo cutoff
- Ignored these type of node from being fired by rules:

dispositionSchedule
dispositionAction
eventExecution


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55273 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-13 04:29:30 +00:00
Roy Wetherall
5923f7c593 RM: tweak Audit Service API
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:39:52 +00:00
Craig Tan
19a4f06591 RM-838 Searching for audit logs by event doesn't work for some events' types
- Added a new Spring config property 'auditedImmediately' to work alongside 'auditable' property to indicate that the action should be audited immediately rather than after transaction commits. The default value of 'auditedImmediately' is false unless it is specified as true by individual action in rm-action-context.xml.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55259 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 06:07:29 +00:00
Roy Wetherall
97b7774eed RM-953: SOLR searches are not returning results as expected for RM artifacts.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:47:56 +00:00
Craig Tan
b06676d146 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Just tidied things up a little. Added the following override so that by default it is audited immediately and the audit entry isn't removed. This means a lot of the calling clients don't need to understand or define the last two properties.

@Override
public void auditEvent(NodeRef nodeRef, String eventName, Map<QName, Serializable> before, Map<QName, Serializable> after)
{
    auditEvent(nodeRef, eventName, before, after, true, false);
}

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 02:42:14 +00:00
Gethin James
c20e679651 Fixed RM-940 Location of transfer isn't being set when transfer completed
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 16:12:02 +00:00
Craig Tan
16b8b97af6 RM-947 Remove unwanted properties from being audited for the 'Updated Metadata' event in RM
- Specified a list of properties in Spring's configuration to be ignored by audit.
- If an audit entry ends up with no changes in properties then we discard the entire audit map altogether. Currently this applies only to 'Update RM Object' events as other events still require to be audited even if there are no property changes.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 09:46:33 +00:00
Roy Wetherall
859e21a838 RM-872: "admin" can access all areas of the file plan without have been given an explicit role or permissions.
* it now valid for admin to have access to the file plan
  * rmadmin is still created and always has admin rights to file plans, but by default is created with a random password
  * admin has permissions to reset rmadmin password if administration of RM file plans needs to be delegated
  * rmadmin name I18n'ed
  * rmadmin patch and creation code updated



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 04:49:39 +00:00