Commit Graph

622 Commits

Author SHA1 Message Date
Roy Wetherall
7aed13d0fb 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
3e7aa934f7 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
15a00fa939 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
f2eca8cbc3 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
44975523e5 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
ac49d095b7 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
0958dbfc9f 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
59cc87b1e8 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
ecd8a6f83f 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
8216078316 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
b8b259acd1 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
c9223cb510 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
901a8fd8c8 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
725d3e9b9d 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
307ddfd529 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
112973072a 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
20f6fee1db 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
114c198b44 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
e0528c803e 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
728919ec3d 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
4c8615b9c0 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
a2400a047c 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
249c03c345 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
f5063cb8eb 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
abcb6e2433 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
e6591dd9fe 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
c1477ad783 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
3059223083 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
776b83dc0b 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
cc9412cb7e 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
bc6d75a7ff 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
3fb06cdccb 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
40fdcfbefd 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
2fd27133e1 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
9be3e71543 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
1be4399d6b 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
dd690c6806 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
5423a96be7 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
7f572695b1 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
81a71c041e 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
9030ab5569 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
50c9b39324 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
fc23c3f0f9 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
cbe6192307 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
1441c42f45 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
2c98bb672f 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
2ca42fc34c 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
426ed0946d 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
7ddeaa5609 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
Tuna Aksoy
4c78001a3b Fixed minor issues ("Empty Statement") reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@71951 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-05-27 21:10:37 +00:00