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
Roy Wetherall
c0245b05df
RM-951: FilePlan is not refreshed automatically after creating a category
...
RM-950: Completed Records are not displayed for RM Admin
RM-949: RM admin can see only own Categories/Folders/Records
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 05:06:40 +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
Roy Wetherall
c98ca8e89c
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
af33a147e3
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
c351d6fcdb
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
86dd859040
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
1ac5956888
Fixed failing test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-08 07:30:18 +00:00
Gethin James
ea3dee91c0
Fixing failing test data - now requires valid "from" param
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55077 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-07 22:08:10 +00:00
Tuna Aksoy
018bd7f557
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
1098fda2bb
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
5df0df19e7
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
626e42ffd6
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
9af90f6f7b
RM-926: File plan filters (Hold, Transfer, Unfiled) may not show up to date results when Rm configured for SOLR
...
* unfiled filter is now backed by a canned query so shouldn't be effected by SOLR indexes being out of date
* todo holds and transfers
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-06 05:14:15 +00:00
Roy Wetherall
8b5ad7005e
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
0c2143918f
[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
596cbe86da
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
Gethin James
f2e9e4c342
Corrected the dependency definition to pull in the correct test jars.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54968 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 10:58:28 +00:00
Roy Wetherall
fedc2d2823
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
caeca3c66d
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
3921147ec3
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
4b5dd96449
RM-910: "File as Record" from Audit Log does not work
...
RM-909: Export from Audit Log does not work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 01:22:23 +00:00
Roy Wetherall
c68ed17d2d
RM-914: "Retain" action is absent
...
* ensured scheduled job executes retain successfully
* added UI action "End Retention" .. allowing user to manually end the retention when eligible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-05 00:47:15 +00:00
Roy Wetherall
70c6e25d66
RM-913: A typo in Audit Log
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 23:59:17 +00:00
Roy Wetherall
8e73143966
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
d4f3fa4179
[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
af2af21b79
[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
5c9bc850e3
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
Roy Wetherall
e395f250e0
RM: A couple of changes to the condition labels
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54879 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-04 02:50:07 +00:00
Jared Ottley
f17bb35f19
[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
7fa2ecbc8a
[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
c8b7aa3a2d
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
74eaebf9f5
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
3e8270eaf7
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
aa07a569d6
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
faeecb6823
RM: Fix unit test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-02 10:40:20 +00:00
Roy Wetherall
e4e41a2dfd
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
fb07d9e266
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
fb7b363eb1
[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
5a9066e8c5
[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
811eaf0537
[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
60cd75f75a
[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
Roy Wetherall
90791f72a3
RM: Fix build
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54679 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 02:14:22 +00:00
Roy Wetherall
eaadaa0faa
RM-853: File Record audit event is absent
...
* refactored audit events to be spring configurable, registerable beans
* adjusted how actions are audited
* added missing action I18N labels
* adjusted how audit events are stored against the transaction so that more than one is recorded per transaction (previously it was the last event to happen that was recorded)
* unit test running and share tested
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-30 00:54:23 +00:00
Jared Ottley
811fe439eb
[RM-795] Can't copy/link to record. Reworked Copy policies. The record aspect is now not copied. A new Unique Record Identifier is generated on for the copy. Other record properties are generated when the record is copied into new record folder. Removed old copy behaviour. Behaviour filter is now added to the policy. The filter is used to disable the id check at the end of copy (on commit) so that a new id can be added to the copy.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54675 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-29 20:16:27 +00:00