Commit Graph

770 Commits

Author SHA1 Message Date
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
Tuna Aksoy
5106673ce3 Fixed major issues ("Simplify Boolean Expression") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:42:15 +00:00
Tuna Aksoy
aff70c9637 Fixed major issues ("Bad practice - Method with Boolean return type returns explicit null") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71961 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:40:52 +00:00
Tuna Aksoy
9fdbdc2155 Fixed major issues ("Loose coupling") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:36:32 +00:00
Tuna Aksoy
185064a674 Fixed major issues ("Malicious code vulnerability - Field isn't final") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:27:53 +00:00
Tuna Aksoy
a5f1ce8df2 Fixed major issues ("Illegal Throws") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:20:44 +00:00
Tuna Aksoy
65274ea084 Fixed major issues ("Signature Declare Throws Exception") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71957 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 22:00:50 +00:00
Tuna Aksoy
d4dc53a009 Fixed minor issues ("Unread public/protected field") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:18:20 +00:00
Tuna Aksoy
c734b3a1d8 Fixed minor issues ("Unused Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71954 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:16:04 +00:00
Tuna Aksoy
6ba4bce0b7 Fixed minor issues ("Redundant Modifier") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71953 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:13:52 +00:00
Tuna Aksoy
3d11936643 Fixed minor issues ("Constant Name") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71952 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:11:59 +00:00