Commit Graph

286 Commits

Author SHA1 Message Date
Roy Wetherall
b3a76102cc 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
0fa2fb6c2b 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
b1bc635bf4 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
d46f62fb2c 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
dace07164e 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
09cb2a56e9 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
15e6ad0a82 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
fb24c0a9a8 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
6fdfdc1801 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
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
c8fcaebce8 Added constraint title translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-23 09:48:08 +00:00
Gethin James
0ca6b7d038 More translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55768 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-20 17:16:56 +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
b07a02b421 RM: Updated es property bundles.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55514 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-19 06:03:32 +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
Gethin James
52abe0e038 Added events translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:21 +00:00
Gethin James
1fbdc21491 Added roles translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55479 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:17 +00:00
Gethin James
c6aaa0a24f Added saved search translations for RM-183
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-18 16:15:13 +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
588e12f8f2 RM: Unit test fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-17 06:17:04 +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
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
Tuna Aksoy
ce4121852f RM-959 (Admin user is not able to create users)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-16 14:37:44 +00:00
Roy Wetherall
3b31976593 DE, FR, IT and JP translations for RM 2.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@55261 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-09-12 07:08:39 +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
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
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
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
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
8410fc6bc6 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
f9f5272f47 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
45f41c2c7a 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
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
6321b99a42 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
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
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
Roy Wetherall
50c8869c40 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
6963a50287 [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
Tuna Aksoy
7280be18aa RM-826 (Import data set dashlet does not work)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 13:36:53 +00:00
Tuna Aksoy
c89a221086 RM-826 (Import data set dashlet does not work)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54574 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 13:15:33 +00:00
Craig Tan
665012c957 RM-853 File Record audit event is absent
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54561 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 11:37:18 +00:00
Roy Wetherall
a8f216fb5c RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-28 01:35:14 +00:00
Tuna Aksoy
7514819fbc RM-864 (Cannot update the metadata of a folder with a custom property)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-27 20:38:39 +00:00
Roy Wetherall
3b6da48a3a RM-831: No actions for Completed/Reopened Record on Details page
* hard coded READ permission check causes RM all kinds of issues



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 00:59:40 +00:00
Tuna Aksoy
cf171d2ff9 RM-858 (RM Set Property Value text field is missing on return to the rules edit page)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54312 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-20 22:19:26 +00:00
Tuna Aksoy
6ebe5462cc RM-847 (Rename Undeclared Records in Saved Search)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54279 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-20 12:49:35 +00:00