Commit Graph

413 Commits

Author SHA1 Message Date
Roy Wetherall
2f552274d2 Pre sprint demo review: ensure add to and remove from hold actions only appear when the user has holds to remove from or add to
* added capability condition that checks the heldBy (include or exclude) for filling permissions
 * add condition to addTo and removeFrom hold capabilities (UI automatically reflects new condition)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-10 05:36:01 +00:00
Roy Wetherall
8610832726 RM permission inheritance behaviour clarified
* read permissions not inherited to root categories, holds or items in the root of the unfiled record container .. this matches 
   the current behaviour of the file plan and is a partial work around for the issue of inheriting "path" read permissions vs actual read permissions.
 * consolidation of permission initialisation code (there is only one route now)
 * resolved RM-1317
 * unit tests
 * update server integration tests
 * knock on minor simplifications on the file plan and transfer service 
 * moved more frequently used methods into the service base to reduce unessesary service interlinking



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@67030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-09 06:59:44 +00:00
Roy Wetherall
0bb68f527a Freeze indicator now only shows if the user has permission to 'read' at least one of the holds (RM-1210)
* see RM-1372, RM-1373
 * added unit test
 * fixed FIXME in page object



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66958 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-08 00:52:40 +00:00
Mark Hibbins
9776d23519 RM-1430 - Fixed move to holds/unfiled/transfers issues along with associated tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66928 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-07 15:18:55 +00:00
Roy Wetherall
edd5623978 Update schema number
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-07 05:03:45 +00:00
Mark Hibbins
50f2c6a68b RM-1358 - Added ghost on destroy option to destroy disposition action
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-06 22:08:32 +00:00
Roy Wetherall
6573f26e89 RM-455: Saved search 'Frozen Records' shows frozen folders
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-03 04:24:44 +00:00
Roy Wetherall
e0a085ac5d RM-1315: Manage Permissions is not working for folder inside Holds/Unfiled Records
* unit tests to show unfiled and holds permissions working correctly
 * fixed issues exposed by above
 * minor refactor for FilePlanPermissionService implementation to reduce complexity
 * added unit test execution to local build target



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 23:53:16 +00:00
Tuna Aksoy
6370697ffb RM-1427 (Delete RM site permanently)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@66031 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-04-01 11:04:41 +00:00
Roy Wetherall
dcbe6a5f6c Hold ReST API Unit Tests
* RM-1320, RM-1328, RM-1331, RM-1333
 * added Mockito based framework for testing Java backed declarative web scripts and their templates



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65762 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-28 01:33:48 +00:00
Mark Hibbins
e8628059f8 RM-1198 & RM-1199 - Added functionality for Copy-to and Move-to rule actions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65697 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-27 10:53:58 +00:00
Roy Wetherall
989827beb8 RM-1361 - Edit Review Date action is not present for cutoff actions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@65038 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-21 04:43:48 +00:00
Roy Wetherall
5269a6ee24 Hold Service Improvements:
* HoldService API explanded beyound immediate use case needs to form a more complete API, plus some tweaks to method names
 * unit test (via Mockito) added .. still some todo's (see RM-1326)
 * integration test added .. to test behaviour interactions (see RM-1326)
 * method level permissions added to Hold service .. should see filtering of results based on permissions
 * added behaviour to HoldService to unfreeze records and record folders when hold is deleted (same as old relinquish action)
 * deprecation of dupliacte methods found in FreezeService
 * fix up use of deprecated methods throughout code .. note that warnings have only been hidden in actions that are soon to be deprecated too



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64834 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-19 05:02:04 +00:00
Tuna Aksoy
f145f7785a RM-1321 (Implement UI for adding records/folders to hold(s))
RM-1334 (Implement UI for removing an item from hold(s))

 * Added actions/capabilities so that the actions add to hold and remove from hold can be called from the UI
 * Also everything related to the freeze/unfreeze actions has been removed from rm-share

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 17:07:05 +00:00
Tuna Aksoy
dfaac8d97e Removed "delete when empty" feature
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-18 11:21:26 +00:00
Roy Wetherall
808c83f4a6 Rename rma:unfiledRecordContinerChildt to rma:unfiledRecordFolder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64752 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 23:45:26 +00:00
Tuna Aksoy
5266bbe71e Removed "delete when empty" feature
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 18:12:37 +00:00
Roy Wetherall
693400d3ac UI tests for RM-1148 and RM-1194
* added record info helper to encapsulate record row in file plan
 * added page object for 'edit record metadata' action
 * ensure that edit record metadata action is not present in the UI if there are not aspects to add (ie in the standard RM site)
 * renamed and extedned RecordDetailsPage
 * added AbstractSiteNavigation to work around dependancy issue that was blocking execution of tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64678 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-17 01:20:48 +00:00
Tuna Aksoy
7a01126f7c Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-task: RM-1321 (Implement UI for adding records/folders to hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 17:49:34 +00:00
Roy Wetherall
fe858e0f06 UI integration tests for RM-1148
* added helper methods to create record category/folder easily in tests
 * fixed up file upload into record folder
 * renamed and extended RecordDetailsPage
 * some additions to filePlanPage



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-14 05:38:51 +00:00
Roy Wetherall
0647ac855c Fix typo in comment
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 10:42:26 +00:00
Roy Wetherall
d50b7a20a9 Refactor RM model so that rma:hold is used
* rma:holdContainerChild removed
 * capabilities, forms and actions updated
 * UI tests updated
 * relates to RM-1203, RM-1205, RM-1209



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-13 10:19:45 +00:00
Mark Hibbins
a378ade7a1 RM-1309, Made the configuration of the node property suggestion functionality easier by moving list of types/aspects to global properties file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64027 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 16:03:24 +00:00
Mark Hibbins
3e52bcec04 RM-1200/RM-1201, Added functionality to copy and move folders and records with unfiled records
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@64018 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-12 14:35:50 +00:00
Tuna Aksoy
c389da144d Story: RM-1207 (As a records user I want to remove records from a hold(s) that I have permission to see so that I can unfreeze a record)
Sub-task: RM-1332 (Implement REST API for removing an item from hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 16:27:58 +00:00
Tuna Aksoy
aa8c52f72f RM-1330 (Implement REST API for getting the hold(s) for a given node)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63826 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-10 11:07:41 +00:00
Tuna Aksoy
d58cfe667b Fixed minor issues reported by sonar (Unread public/protected field)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63814 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-09 22:45:08 +00:00
Tuna Aksoy
22e6ea909c RM-1313 ("New Hold" button is enabled for user with no permissions for Holds)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 23:28:35 +00:00
Tuna Aksoy
0e976c1338 Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-tasl: RM-1327 (Implement REST API for adding a record to the hold(s))

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 21:42:40 +00:00
Tuna Aksoy
809790d1a3 Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-08 16:36:30 +00:00
Tuna Aksoy
e5abd6fb99 Refactored FreezeService after adding the HoldService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63769 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-07 15:27:40 +00:00
Tuna Aksoy
90c40688ec Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-task: RM-1319 (Implement REST API for getting the holds)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63758 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-07 11:52:25 +00:00
Tuna Aksoy
0a40b0c0dd Story: RM-1206 (As a records user I want to be able to add records to a hold(s) I have permission to see so that I can freeze a record)
Sub-task: RM-1325 (Implement Hold Service)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-06 22:39:54 +00:00
Tuna Aksoy
c8d265e447 RM-1312 (Access Denied to edit hold)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-03-04 21:48:53 +00:00
Tuna Aksoy
e20ae19bfc RM-1205 (As a records user I want to edit the details of an existing hold so that I can change its details if circumstances change)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63414 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 17:44:54 +00:00
Tuna Aksoy
164ab37475 RM-1208 (As a records user I want to manage the permissions of a hold so that I can control who can see the hold and it's contents)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 14:04:23 +00:00
Tuna Aksoy
b5aa5a2237 RM-1204 (As a records user I want to manage the permissions of the root hold container so that I can control who can see the contents of the root hold container)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-27 13:16:42 +00:00
Tuna Aksoy
82ab448d5c RM-1209 (As a records user I want to delete a hold so that I don't keep information I don't need to)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 21:58:16 +00:00
Tuna Aksoy
4642f1c366 Merged V2.1 to HEAD:
63128: RM-1280: It's possible to create a folder in the root of File Plan via FTP/CIFS/WebDav/NFS
   63265: RM-1183 (Null is displayed in values of Supplemental Marking/Transfer Locations selection lists)
   63266: RM-879 (Web script error when event used in disposition schedule is removed from Management Console)
   63267: RM-1101 (Label is missing for Supplemental Markings/Transfer Locations list on Edit list page)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63280 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-26 11:33:35 +00:00
Mark Hibbins
d2f7765e05 RM-1144, Added max suggestions config, custom properties inclusion and made ui tests more robust
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-25 19:22:40 +00:00
Tuna Aksoy
c3d8944c44 RM-1203 (As a records user I want to create a new hold so that I can add records to it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-24 21:45:18 +00:00
Roy Wetherall
ec04003e69 RM-1280: It's possible to create a folder in the root of File Plan via FTP/CIFS/WebDav/NFS
RM-1281: Not possible to create folders in Categories via FTP/CIFS/WebDav/NFS



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.1@63128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-24 04:58:53 +00:00
Tuna Aksoy
a3f45dbb52 After the recent refactorings it was not possible to update the changed meta data.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63125 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-23 18:46:35 +00:00
Tuna Aksoy
046aa6d8bf After the recent refactorings the edit meta data action for an unfiled records container was not available anymore.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-23 00:30:49 +00:00
Tuna Aksoy
fa91d283f5 After the recent refactorings the delete action for an unfiled records container was not available anymore.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-22 20:56:05 +00:00
Roy Wetherall
f69cd3961e RM-1194: As a records manager I want to create a 'standard' RM site that only displays records meta-data types relevant to standard RM practices, so that I don't get confused by unwanted DoD records meta-data types.
* record metadata aspects are now configured via spring and includes which file plan type they are relevant for
 * added 'unit test' structure .. for 'real' unit tests, ie anything that doesn't load the application context
 * included Mockito, new source location and unit test suite into POM
 * added unit and functional tests for feature (server)
 * refactored accordingly (webscripts, UI, etc)
 * visual test of UI .. automation tests to follow



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63013 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 05:40:26 +00:00
Roy Wetherall
d617a5b7e2 Fix build post merge
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63012 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 04:45:45 +00:00
Roy Wetherall
a4374cc8ae Fix build post merge
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@63011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-21 02:10:51 +00:00
Tuna Aksoy
f827de9618 Fixed the bean definition for rmCreateModifyDestroyFoldersCapability
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 08:59:10 +00:00
Roy Wetherall
ea10e2c2b8 Merged V21 to HEAD:
62861: RM-1261: Records/Folders scheduled for destruction can be deleted by user without required capabilities
          RM-1258: It's possible to edit, delete and create (via copy) new category without "Create Modify Destroy File Plan Metadata" capability 
   62862: RM-1267: Delete Record capability is needed to delete the reference



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@62863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-02-20 04:25:16 +00:00