Commit Graph

680 Commits

Author SHA1 Message Date
Roy Wetherall
4ceda4baf5 RM-1562: Can't move a record from the collaboration site into the file plan
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 10:10:50 +00:00
Roy Wetherall
72d1b5e221 RM-1573: Holds the user has read-only permission for are displayed in Remove from Hold dialog
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 07:13:58 +00:00
Roy Wetherall
db6fc9999f RM Performance Improvements:
* focus on in-place scenarios with large numbers of DM users and large numbers of in-place records (based on issue informally reported by partner)
 * improve performance of dynamic authorities used for in-place security evaluation (L1 transaction cache and more preformant authority look up)
 * remove unwanted queries in tree (N+1 for every node) .. killed it for large file plans
 * L1 transaction cache for capability condition evaluation .. these are called a LOT so removes some of the bottle necks when evaluating the permissions of a large sets of nodes
 * extend helper system test used to load up fileplan and now also create in-place records
 * unit and integration tests run .. sanity testing done via the UI
 * overall performance of the display of 1000 in-place records in the file plan down from minutes to a few seconds!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-28 04:54:04 +00:00
Roy Wetherall
a0aeb3f443 RM Performance testing:
* added helper code to load large numbers of users and groups into RM roles
 * improved performance of role user/group management console from 13 seconds with 100 groups with a 100 users, down to less than a second
 * role user/group console now only shows users and groups explicitly assigned to the role to help scale the UI (and make more sense!)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-27 02:24:22 +00:00
Tuna Aksoy
f8da74dcf0 RM-1571 (Bidirectional relationship between two records aren't listed for target record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74970 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-26 14:00:03 +00:00
Roy Wetherall
28c467304c RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
* general browse experience better
 * viewing record category list (with one folder) down from seconds to almost immediately
 * viewing of record details page down from 20 plus seconds to under a second 
 * although view of 15k records is still slow to render (around 10/15 seconds) this is still much better then previously and over 80% of that time is spent in the repo getting the children .. could look at getting a reduced result set?
 * cached 'hasHeldChildren' state on record folders .. this was a significant overhead previously and is now a simple property lookup, maintained by behaviours
 * unit tests for above to ensure nothing is broken
 * TODO more caching of frequently asked for state, optimisation of more node service intensive capability conditions




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-26 06:21:45 +00:00
Tuna Aksoy
6daa47eb4e RM-1572 (It's possible to file report to closed folder)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74931 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 23:14:56 +00:00
Roy Wetherall
589929e89b RM-1324: Category becomes unavailable if import files exported via Export All action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74613 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 05:37:35 +00:00
Roy Wetherall
4fb9f225d7 RM-1487: Clone - Cannot import exported file plan ACP or ZIP to another Alfresco 4.2.1/RM2.1.1-22 instance
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 04:39:16 +00:00
Roy Wetherall
99875a9f62 RM-1460: Hold Reson is not displayed in Audit Log
RM-1505: Search Results: Hold Reason field is empty

  * specific filtering for ViewHoldReason capability removed .. no longer required as we specify user permissions at the hold level
  * deprecated hold related actions are no longer auditable (and so don't appear in the audit view)
  * hold service Audits add/remove to/from holds
  * hold reason is no longer rolled up onto disposable item .. it no longer makes sense for multiple holds and was a security hole
  * hold reason removed from search options



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-25 04:14:18 +00:00
Roy Wetherall
c929c099c5 RM-1560: User with Remove from Hold capability can't remove from hold
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74510 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-24 07:27:48 +00:00
Roy Wetherall
b153b5ca80 RM-1559: User with Create Hold capability can't create hold
RM-1561: Edit/Delete Hold actions are not displayed for user with proper capabilities

* editHold and deleteHold specific capabilities added and UI actions wired up accordingly
* capability patch addeded
* freeze, unfreeze and related capabilities deprecated (but still avaialble if required)
* some of the old freeze UI actions removed 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74506 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-24 06:31:43 +00:00
Roy Wetherall
219d13f9b1 RM Performance Improvements
* general file plan browse rendering in around half the previously recorded times for around 500 records (need to scale up)
 * unessesary bottle neck removed from record detail page rendering (see RM-1461)
 * other general improvements
 * TODO .. hasFrozenChildren, getNextDisposition, TransferNodeIndicator, HeldBy .. all traverse up or down record/record folder hierarchy in ways that don't scale
 * fix to disposition lifecycle job that failed all when one failed .. this explains why the job appeared not to work on occasion



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74458 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-23 07:21:51 +00:00
Tuna Aksoy
025474cfda Fixed major bugs (Visibility modifier) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-22 15:53:31 +00:00
Tuna Aksoy
79d5f8e36b Fixed major bugs (Avoid commented-out lines of code) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74411 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-22 15:13:30 +00:00
Tuna Aksoy
f8e9cb7dcd Fixed minor bugs (Constant Name) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74409 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-22 14:56:44 +00:00
Tuna Aksoy
083fc490fa Fixed minor bugs (Redundant Throws) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-22 14:54:13 +00:00
Mark Hibbins
fa3ce547b5 RM-1532, RecordServiceImpl.onUpdateProperties now able to recognise that a new vale of false compared to an old value of null for a boolean property is unchanged
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74338 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-20 10:32:08 +00:00
Roy Wetherall
14d57cacb6 RM-1540: Event is displayed for record moved to category with no disposition
RM-1345: Edit Disposition Date is not working for moved items



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74311 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-20 05:02:06 +00:00
Roy Wetherall
f37ba9e199 RM-1440: Edit Non Record Metadata capability is required to file a record
* fix for non-electronic record creation



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-19 05:21:30 +00:00
Mark Hibbins
1ecf65c76b RM-1537, rules on root node now not executed on items being added to hold
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74167 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-18 15:32:48 +00:00
Tuna Aksoy
565e198d0b Organize Imports
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-17 15:48:28 +00:00
Roy Wetherall
0bce51ac8d RM-1440: Edit Non Record Metadata capability is required to file a record
* can now file an electronic record with only CreateRecord capability
  * tidied up some of the policy code as I went
  * integration test
  * non-electronic records to follow



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-17 06:44:19 +00:00
Roy Wetherall
6f8929f441 RM-1345: Edit Disposition Date is not working for moved items
* behaviour now fires as expected so record folder data is updated correctly
 * general improvements to move record folder
 * addition and consolidation of move record folder integration tests
  



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-16 06:20:05 +00:00
Tuna Aksoy
eb0e594f83 Fixed major bugs (Visibility Modifier) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-15 13:01:33 +00:00
Tuna Aksoy
4ce340cc92 Fixed minor bugs (Trailing Comment) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-15 12:28:10 +00:00
Tuna Aksoy
81ebde57c4 Fixed minor bugs (Constant Name) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-15 12:26:37 +00:00
Tuna Aksoy
13c73e8e8e Fixed minor bugs (Redundant Throws) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-15 12:16:08 +00:00
Tuna Aksoy
7e71eb8e0a Fixed critical bugs (Security - Array is stored directly) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-15 11:39:53 +00:00
Mark Hibbins
6a2d86121c RM-1070, added rule property substitution for day of month
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-13 09:44:26 +00:00
Tuna Aksoy
51b7232506 RM-1224 (Rmadmin user is not created if auth chain contains not only ALfrescoNTLM)
* Add the FilePlanAuthenticationService back to the code base for backwards compatibility.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73641 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-12 10:26:33 +00:00
Roy Wetherall
8b17d89b84 RM-1089: CLONE - Group added twice for default categories
RM-1314: Permissions can be added twice



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73619 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-12 06:39:15 +00:00
Tuna Aksoy
02b4c273d2 RM-1224 (Rmadmin user is not created if auth chain contains not only ALfrescoNTLM)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73546 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 08:53:23 +00:00
Tuna Aksoy
936aea0a5a Removed warning from code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73545 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 08:38:17 +00:00
Mark Hibbins
0f25886e06 RM-1456, disposition lifecycle executor now does not execute cutoff after undo cutoff
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 07:29:21 +00:00
Roy Wetherall
bc90de1e33 Update copyright date to 2014
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 06:06:22 +00:00
Roy Wetherall
9d838376b7 RM-999: Hold and Transfers are displayed for ExtendedReaders, ExtendedWriters
* remove in-place roles from the 'all roles' group .. now in-place readers and writers can't gain access to items just because they have a role!
 * patch to remove in-place roles from all group in existing installations
 * unit test for patch



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-11 05:31:06 +00:00
Tuna Aksoy
2b1a2718d9 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73495 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-10 13:38:20 +00:00
Tuna Aksoy
c66bcfd0f0 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73493 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-10 13:24:19 +00:00
Tuna Aksoy
f81f99a5e8 Removed unused import
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73464 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-10 07:54:36 +00:00
Roy Wetherall
54f934c1a9 RM-1231: Could not Revert the rejected record
* record security was not being correctly reset during record reject
 * added additional logging to help debug access denied exceptions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-10 03:01:34 +00:00
Tuna Aksoy
5d6e319c42 RM-193 (Roles are displayed incorrectly in User Rights Report)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-05 15:43:36 +00:00
Tuna Aksoy
3523786513 RM-1531 (Possible to transfer/accession/destroy NOT cut off folders/records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-04 16:52:02 +00:00
Tuna Aksoy
05a7d3ce35 Removed unused field from the code
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72892 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-06-03 13:22:28 +00:00
Tuna Aksoy
f544bacec6 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72349 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 14:13:28 +00:00
Tuna Aksoy
86bfb347b9 RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
* Fixing the failing unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72302 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-30 09:43:54 +00:00
Tuna Aksoy
2d2227e47a RM-1429 (The user with read-only permissions on the item can unfreeze it via deleting hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72277 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 23:05:35 +00:00
Tuna Aksoy
885847135d RM-1417 (User with no permissions to Hold container see "Freeze/Add to Hold" action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72256 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 16:15:48 +00:00
Tuna Aksoy
7017336638 RM-1424 (Holds the user has read-only permission for are displayed in Add to Hold dialog)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72241 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-29 13:45:28 +00:00
Tuna Aksoy
67a92d96f7 RM-1464 (Item can be added to hold the user has no file permissions for)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@72192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-28 20:56:31 +00:00