Commit Graph

496 Commits

Author SHA1 Message Date
Roy Wetherall
77e9c0fa4d 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
8a416b01a9 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
ca0a55f922 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
7eb4067c5c 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
0b1a4234ba 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
9eb6bad677 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
e80c3d7ba1 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
2459044200 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
b3bde1e451 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
3e5fcda6c7 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
507e09ac64 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
b5eb202612 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
5a0b2c429d 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
0b6c58d495 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
8de55a0ab6 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
b8562ac629 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
af972bfae0 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
03d8b5053d 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
cf4c105fa1 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
4e3e0cb7e4 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
Roy Wetherall
f3f9440672 RM-935: Transfers and Holds are not migrated from 2.0.x
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-11 01:37:33 +00:00
Craig Tan
b16f096df2 RM-936 Audit is producing too many 'object edited' entries.
- To eliminate multiple audit maps from being generated when events with the same name are required to be fired multiple times in the same transaction, the code checks on existing auditedNode stacked for the same combination of nodeRef and eventName. If there exists such an auditNode, update its 'after' properties with the latest set of properties and leave its 'before' properties unchanged so that it retains the original set of properties. The first 'before' and last 'after' will be diff'ed when comes to building the auditMap later when the transaction commits.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55154 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:39:18 +00:00
Roy Wetherall
9f8823ae6b RM-895: Can't Freeze record and folder witch contains record if updated rule to Freeze is set
* also dealt with exception that was not being handled by background job



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-10 06:32:12 +00:00
Roy Wetherall
f62c4f457f RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
* transfer and hold containers created under file plan
  * holds and transfers now contained within these containers
  * holds named using folder level counter to avoid name clash in container
  * hold and transfer filters now API driven .. so canned query driven .. so *live*
  * unit test updates
  * UI tested



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-09 01:57:58 +00:00
Tuna Aksoy
ea9fed1eb5 RM-603 (REST API: users without Map Email Metadata capability can GET, POST, DELETE e-mail mappings)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 21:17:41 +00:00
Tuna Aksoy
c5a0d7b402 RM-915 (The creation of a new Email Mapping: It's possible to type into "map" field any text or spaces.)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 20:09:45 +00:00
Gethin James
1e733fab38 Added more validation and tests as a fix for RM-915: The creation of a new Email Mapping: It's possible to type into "map" field any text or spaces.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 17:41:02 +00:00
Tuna Aksoy
1722649d12 RM-908 (Add Record Type action is missing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55066 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 17:38:25 +00:00
Roy Wetherall
b5903874b4 RM-689: Unclear work of outbound (delete) rules
* ensure freeze doesn't fire if delete pending



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 02:22:28 +00:00
Jared Ottley
47a520e2ac [RM-878] Deleting folder with declared records does not remove groups from the extended groups properties. Add new behaviour to look for child associations where the node is not primary, has the rma:recordOriginatingDetails aspect and where the deleted parent is a folder. If all matches, then remove the extended security properties from the "primary" child node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55000 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 22:04:54 +00:00
Tuna Aksoy
406cf49c47 RM-850 (Import is not working)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 18:12:51 +00:00
Roy Wetherall
775ec119a7 RM-689: Unclear work of outbound (delete) rules
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 06:57:54 +00:00
Roy Wetherall
07e561a49b RM-830: It's impossible to undo Cut Off for folders and records
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 05:47:59 +00:00
Roy Wetherall
e7994d38a9 RM-902: 13 workflows are started if move record when outbound rule to Request info is set
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 05:19:49 +00:00
Roy Wetherall
16224528b2 RM-896: Can't create folder/record if inbound Freeze rule is set for root-node
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 23:45:48 +00:00
Jared Ottley
a886335823 [RM-900] MT: Impossible to create RM site as tenant. Add additional wrapper test for rm_config_node to stop re-execution of module bootstrap if it has already been run.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 21:41:04 +00:00
Jared Ottley
29ca16d584 [RM-900] MT: Impossible to create RM site as tenant. Now looks to see if MT is enabled and formats the rmadmin's name in the proper format. Also handles the super tenant which requires no domain name for the user name. Added private method (using RMv2RMAdminUserPatch as example) to create the user if it was not already created during bootstrapDefaultRoles. onCreateRootNode now calls BootstrapImporterModuleComponent.execute() to test for and create rm_config_folder if needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 20:27:20 +00:00
Roy Wetherall
0b00b973a3 RM-829: Could not cut off folder if it's contain a record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54885 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 06:59:33 +00:00
Jared Ottley
e519cd8a22 [RM-799] Can't move folders. The move action should no longer be visible when there is a disposition schedule attached. Moves are now allowed to other categories. Folder to folder moves are not allowed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 20:48:19 +00:00
Jared Ottley
0d31b03a86 [RM-892] Record metadata is not copied. The record aspects properties will now be copied. The Date Filed property is not copied. This property will be generated during the copy.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 17:25:54 +00:00
Roy Wetherall
6a68dbc35a RM-886: Audit Log. Filters are applied only on displayed entries.
RM-870: Audit UI layout is incorrect
RM-889: Audit cannot be filtered by property values after rename file
RM-838: Searching for audit logs by event doesn't work for some event types



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54809 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 05:10:11 +00:00
Roy Wetherall
b7dd2e3fcb RM-614: Can't complete record without "Complete Record" capability
* added enable/disable property check methods to record service .. useful when setting 'system' properties



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54807 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 00:59:04 +00:00
Roy Wetherall
c1c46e1690 RM-898: Manage Permissions are not being set on the File Plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54805 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-03 00:23:04 +00:00
Roy Wetherall
ea6e47bf1a RM-775: rmscript action appears in collaboration site rule UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54800 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 23:23:11 +00:00
Roy Wetherall
a104557a28 RM-740: Audit "view audit" action
* View audit, start audit, stop audit and clear audit are all now audited actions.
  * further improvements to the service code
  * event list sorted in audit UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54741 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 08:07:23 +00:00
Roy Wetherall
fd84a4d905 RM-853: File Record audit event is absent
* file, move, copy and link are all now present in the event drop down
  * they are all audited as separate events



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 05:38:26 +00:00
Jared Ottley
4aa64013e8 [RM-799] Can't Move folders. Make the file utility method public. Folder moves need to call the method to update any record children.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:44:17 +00:00
Jared Ottley
5d0285ca86 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy for record categories that does not allow them to be copied into record folders.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:16:46 +00:00
Jared Ottley
4f1b1d61c0 [RM-885] Copy action works incorrectly for folders and subcategories. Add policy to not allow copy record folder into another record folder.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 19:03:43 +00:00
Jared Ottley
d0a9e6d63f [RM-795] Can't copy/link to record. Links failed because during the RM permission check the applicationContext was being lost. The applicationContext was used to get the internal NodeService bean so that RM could skip additional permission checks beyond the ones that RM was already doing. The bean was already injecting the internal nodeServce bean in the spring bean config. Removed the ApplicationAwareContext and the bean lookup to use the already injected nodeService fixes linking.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 16:44:42 +00:00