Commit Graph

207 Commits

Author SHA1 Message Date
Roy Wetherall
ba197612d1 RM: Admin service refactor
* move admin service and associated classed into 'admin' package
  * move deprecated origionals and move to compatibility structure
  * update references and spring config
  * fix build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52374 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 09:09:02 +00:00
Roy Wetherall
bdf1b2d742 RM: fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52346 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 08:21:18 +00:00
Roy Wetherall
f9493ddc46 Merged BRANCHES/V2.0 to HEAD:
52115: RM-732: CLONE - "caveat" functionality of the (dod5015) Records Management Module is not cluster-aware
   52262: RM-757: Permission confusion after upgrade from 1.0
   52264: RM:  Unable to set list of values after migration from 1.0->2.0.3
   52294: RM-769 (Impossible to add access for several values)
   52340: RM: Saved searches where not being upgraded correctly
       * searches resaved on upgrade (to account for updated model)
       * searches are public by defalut
       * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52341 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:34:29 +00:00
Roy Wetherall
aa8fa18157 RM: Saved searches where not being upgraded correctly
* searches resaved on upgrade (to account for updated model)
  * searches are public by defalut
  * relates to RM-758



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52340 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-10 06:11:17 +00:00
Roy Wetherall
d243007000 RM-757: Permission confusion after upgrade from 1.0
RM-753: Can't edit former seria untill it's vital



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-08 23:54:08 +00:00
Craig Tan
a1f8e2d3e6 RM-694 A records manager has the following list of available rule conditions:
* Reordered and lower-cased values in the action conditions dropdown list of the edit-rule page.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52163 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-05 06:18:50 +00:00
Craig Tan
6e9d193afb RM-685 Can't manage rules if first rule was created by other user
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-05 02:42:24 +00:00
Roy Wetherall
e5c487db07 RM-732: CLONE - "caveat" functionality of the (dod5015) Records Management Module is not cluster-aware
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@52115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-04 01:41:20 +00:00
Tuna Aksoy
c3488c2541 RM-603 (REST API: users without Map Email Metadata capability can GET, POST, DELETE e-mail mappings)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52099 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-03 16:12:41 +00:00
Roy Wetherall
338472e090 Merged BRANCHES/V2.0 to HEAD:
51415: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        * 50932: RM-741: Allow category and folder id to be editable upon creation.
   51418: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50934: RM-742:  Search sort order now works as expected
   51419: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50953: Creating an RM site was not possible (ref RM-742)
   51420: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50970: RM-735 (DOD Recert: Bugs on the "Edit Custom Metadata" page)
   51421: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r50975: RM-736 (DOD Recert: Bugs on the "List of Values" page)
   51423: Merged DEV/DODRECERT TO BRANCHES/V2.0:
   51425: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r51082: RM Audit
           * improved display so it's easier to see what's going on
           * RM 744: audit user creation
        - r51095: RM-738 (DOD Recert: Add events and properties to the "Audit" page)
        - r51099: Fix upgrade issue
        - r51108: RM-745:  Simple support for event and property filtering on audit
        - r51134: Upgrade issues
           * added patch to fill in missing file plan root node reference
           * default site id set when retrieving saved searches
        - r51212: RM-746: Space in the property name
   51426: Merged DEV/DODRECERT TO BRANCHES/V2.0:
        - r51218: RM-747: Search for undeclared records results in exception
        - r51219: RM-748: Editing a disposition schedule did not work for a non admin user
        - r51220: RM-749: Fixed Accession Report
   51504: RM: Fix build



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51946 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 04:39:47 +00:00
Roy Wetherall
2a1be53bc5 Merged BRANCHES/V2.0 to HEAD:
48720: RM-657: Items section is not displayed on Start Workflow page when RM installed   
   48749: RM-664 (Not possible to edit event without changing the name)
   48772: RM-664 (Not possible to edit event without changing the name)
   49445: RM-675: CLONE - Document Details page: 'Comment' link is not working



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 04:13:49 +00:00
Craig Tan
bb48b9d084 RM-694 A records manager has the following list of available rule conditions
More check-in for bug fixes from developer test.

* Fixed issues for "Has Disposition Action", "Is Kind" and "Is Record Type".
* Added transaction or security context around the contents in RecordsManagementActionConditionEvaluatorAbstractBase.init() so that action conditions can use RecordsManagementActionService (the capitalised one) in Spring config.
* Removed "File Plan" from Is Kind action condition dropdown list selection.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51941 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-02 00:35:23 +00:00
Tuna Aksoy
8b9fe0c387 RM-752 (RM Dependency upgrade to 4.2)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-28 11:00:10 +00:00
Craig Tan
752c26c743 RM-694: A records manager has the following list of available rule conditions:
* New action conditions added:

Is classified
Is cutoff
Is frozen
Is record folder closed
Is vital
Has Disposition Action
Is kind
Is Record Type

* Action conditions dropdown list on the edit rule page reorganised


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51812 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-28 01:39:17 +00:00
Roy Wetherall
586106f26d RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@51504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-26 05:08:48 +00:00
Roy Wetherall
544f2bea0d DOD Recert: Upgrade issues
* added patch to fill in missing file plan root node reference
  * default site id set when retrieving saved searches
 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/DODRECERT@51134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-15 02:32:29 +00:00
Roy Wetherall
3e8f85cbda RM Fix Build: Remove failing test as groups are now hidden.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51081 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-14 01:31:02 +00:00
Craig Tan
54883bd2bd RM-695: Consolidation of RM actions appearing in RM rule UI
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@50977 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-13 04:29:09 +00:00
Roy Wetherall
cb6eb52bbf DOD Recert: Allow permissions to be set on the file plan node (so that Dan and Jan can create root categories)
* Merge HEAD to DEV/DODCERT

    - r43798 RM-552 (Add 'Manage Permission' action to file plan toolbar)
    - r43859 RM-552 (Add 'Manage Permission' action to file plan toolbar)
                * Changed the icons
    - r43863 RM-552 (Add 'Manage Permission' action to file plan toolbar)
                * Changed the existing ManageAccessRights capability and reusing it



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/DODRECERT@50933 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-12 04:09:07 +00:00
Tuna Aksoy
939703c163 RM-692: Code refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@50475 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-29 18:25:10 +00:00
Tuna Aksoy
af124de682 RM-692 (The RM groups are no longer 'public')
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@50465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-29 16:32:06 +00:00
Tuna Aksoy
dfec7aa52f RM-722 (REST API - Add and remove authorities from roles)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@50347 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-24 09:17:05 +00:00
Tuna Aksoy
615afda2ff RM-722 (REST API - Add and remove authorities from roles)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@50274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-22 15:36:44 +00:00
Roy Wetherall
3dbd9f56d8 RM-678: Can't create non-electronic record
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49913 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-10 04:59:39 +00:00
Roy Wetherall
9a81e08b14 RM-652: Updated "Reject" rule is executed when the record is created
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-09 06:39:29 +00:00
Roy Wetherall
3333908c0e RM-669: Patch required to update records as they should no longer inherit permissions from their parent record folders
RM-671: Patch to add new inplace roles.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-30 01:27:33 +00:00
Roy Wetherall
5d69f6aec7 RM-672: Permissions should be maintained when moving a record
* add move behaviour to file plan permission service .. inherited permissions are adjusted, any set directly on the record are kept
  * added missing unit test for file plan permission service
    * test add/remove
    * test record move



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49535 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-24 07:44:51 +00:00
Roy Wetherall
b8bc8bab73 RM: Revert HEAD to 4.2.b dependancy
* remove r49274
  * remove r49264



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-19 02:19:37 +00:00
Roy Wetherall
1ed8d870ee RM: Revert HEAD to 4.2.b dependancy
* r49372



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49413 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-19 02:08:58 +00:00
Tuna Aksoy
032f6d8ea1 RM-668 (Move RM 2.1 onto 4.2.d)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49372 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-17 20:01:40 +00:00
Tuna Aksoy
ae3a4f8b8e RM dependency upgrade (4.2.d)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49264 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-15 20:49:23 +00:00
Roy Wetherall
4654fbacce RM: Edit capability fixes and inplace capability roles
* capability for inplace user no longer defined by dynamic authorities (inheritance was incorrect)
  * default roles added to allow capabilities of reader and writer inplace users
  * record permission inheritance broken .. was on the todo list for a long time, but needed to be done now to ensure the correct inplace permissions where evaluated at the record level
  * unit tests
  * TODO ... patches to migrate to 2.1 for new roles and record permission inheritance change



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-15 09:30:23 +00:00
Tuna Aksoy
b7815fd9d5 RM-631 (The records management team can create a rule to request information about an undeclared record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-10 18:06:11 +00:00
Roy Wetherall
f041d32b21 RM-600: A user with the "EditDocumentMetaData" capability can only edit the properties of the records content.
* record service extended with isPropertyEditable method .. indicates, based on the capabilities of the current user and the nature of the property, whether it can be edited
  * the record service monitors record aspect property updates and throws ModelExceptions if a user tries to update a record or non-record property if they don't have the appropriate capability
  * form filter updated to protect record properties the current user may not be able to edit
  * unit tests

So what does this all mean?  

It means we can control the write permissions of individual properties on a record based on capabilities.  In this case we slice the capability to edit a record in two .. you can either edit the content properties (ie the normal meta-data) or the record properties .. or both of course!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49041 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-10 07:26:45 +00:00
Tuna Aksoy
90a9bd99c0 RM-631 (The records management team can create a rule to request information about an undeclared record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48973 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-08 20:55:50 +00:00
Tuna Aksoy
72678ddef3 * RM-630 (Definition for 'request for info' workflow)
* RM-631 (The records management team can create a rule to request information about an undeclared record)
* RM-632 (The records management team can use an UI action and custom UI to start a "request for information" workflow about an undeclared record)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48854 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-04 21:26:12 +00:00
Roy Wetherall
f03059d9fe RM: Policy refactor
* moved policy implementations out of RMEntryVoter and into separate classes
 * rather than being a hard coded list, policies are now registered via spring allowing others to be easily added
 * re-arrange some of the support implementation
 * RMEntryVoter is now significantly smaller and most of the logic that was once encapsulated in here is spread over supporting classes and services
 * TODO .. need to review policies and determine which are appropraite .. much easier to do now!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-04 00:09:06 +00:00
Roy Wetherall
13d4f3f576 RM: Capability configuration refactor
* consolidate the groups capabilities are within (rename and try to simpify)
 * 'deprecate' classification related capabilities into the dod specific package .. these capabilities didn't do anything so will be removed until such a time comes when we consider classified records.
 * remove legacy unit test .. becomming too difficult to maintain and is covered by newer tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48750 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-03 04:34:11 +00:00
Tuna Aksoy
ccf4f1cd54 RM-664 (Not possible to edit event without changing the name)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@48749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-02 22:21:56 +00:00
Roy Wetherall
5084af61e5 RM: Unit test fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-28 06:14:16 +00:00
Roy Wetherall
83c229d475 RM-638: A records admin can choose from a specialised list of RM relevant conditions when defining a records rule
* refactor how we extend the rule's UI
  * existing rule's UI is left uneffected .. config no longer needs to be overriden .. so custom config will not effect RM
  * web scripts overriden to use RM specific action and condition UI config 
  * actions and conditions not added to general pool of those available from the rules service ... means no filtering is required on the main UI
  * module filter used to override component and redirect to the overridden webscripts
  * server side support of records management conditions added
  * isFiled and isDeclared conditions added
  * TODO .. still a couple of lose ends to tie up 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48659 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-28 05:24:03 +00:00
Roy Wetherall
d777c295fe RM-639: A developer can define a custom RM specific condition implementation.
RM-642: A records manager can create a rule with a "Is Declared" condition
RM-641: A records manager can create a rule with a "Is Filled" condition
RM-638: A records admin can choose from a specialised list of RM relevant conditions when defining a records rule




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48587 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-26 04:29:31 +00:00
Roy Wetherall
ba16a44651 RM: Remove some more deprecation warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48442 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-21 08:03:32 +00:00
Roy Wetherall
cef10a210c RM: Fix unit test
* ensure file plan param is provided to create record action
  * deal with some of the depreaction warnings from recent changes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-21 07:37:20 +00:00
Roy Wetherall
096c74aaa9 RM: Fix failing unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48440 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-21 06:27:19 +00:00
Roy Wetherall
5943d7ad46 RM-634: A records admin can access the users and groups within a RM role (or all the roles) via a web script API.
* add additional user/group management methods to FilePlanRoleService java API
  * add file plan retrieval methods to FilePlanService .. including retrieving file plan node reference from RM site id
  * deprecate file plan retrieval methods on RecordsManagementService
  * add FilePlanService unit tests
  * refactor role web service API implementations to allow the file plan (or rm site) to be specified
  * GET roles can optionally include information about the assigned users and groups



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-21 05:28:57 +00:00
David Ward
48383b497e Set module.repo.version.max=4.1.99
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@48317 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-19 08:43:10 +00:00
Roy Wetherall
2a45ef99e8 RM-635: A records admin can assign the "Request Information" capability to a RM role.
* I18N message
  * member of record capability group



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-18 05:18:45 +00:00
Roy Wetherall
0b8277448a RM-635: A records admin can assign the "Request Record Information" capability to a RM role.
* available by default on admin, power user, security officer and records manager
  * patch included



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-18 04:56:51 +00:00
David Ward
92df6f655d ALF-18377: SyntaxError displayed when we try to create category in File Plan
- Because RM needs to know about new public methods

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@48212 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-16 22:13:12 +00:00