Commit Graph

216 Commits

Author SHA1 Message Date
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
c9ec62ab8c RM: Create record action now works correctly for cm:content sub-types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49771 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-06 07:39:08 +00:00
Roy Wetherall
4c1ef74303 RM: Patch fails if no records to patch!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49666 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-01 02:39:26 +00:00
Roy Wetherall
42239aeb69 RM: Missing patch file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-05-01 02:06:16 +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
0028c25681 RM: Build fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-17 05:30:26 +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
e5f23a5ae8 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@49187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-12 16:35:10 +00:00
Tuna Aksoy
85ebd8b530 RM-631:
* A request info rule should not start a workflow for a record folder
 * Sending email after providing the requested info has been disabled

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-11 16:18:50 +00:00
Tuna Aksoy
276066fb88 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@49119 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-11 14:55:30 +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
Tuna Aksoy
d42602daa6 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@49071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-10 16:06:57 +00:00
Roy Wetherall
b9963fa247 RM: Users with write permission on doc that is made record can only edit doc metadata by default.
* relates to RM-600
  * date property handling improvement



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@49047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-10 09:49:44 +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
900ac2fb54 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@48906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-04-05 20:10:59 +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
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
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
Roy Wetherall
2b841abaf8 RM: Fix up reject notification so it successfully sends email, despite all the record information having been deleted from the node.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48071 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-14 08:22:16 +00:00
Roy Wetherall
376dff7857 RM: bug fixes
* various behaviour needed to be executed as rmadmin
 * indicator shows for rejected record in collab site
 * can not see "create record" action in UI for rejected record



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-14 07:47:56 +00:00
Roy Wetherall
dbe3ec246d RM: Sprint Demo Bug Fixes
* ensure search behaviour does not execute on non-records
 * execute vital record update behaviours as rmadmin
 * allow node parameter processor to handle MT values



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48065 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-14 06:33:52 +00:00
Roy Wetherall
187d0af93b RM: Rejected records bug fixes
* ensure all the record information is removed from a rejected record (seeing issue with ID being reset)
  * rejected records are ignored by the create record action
  * note:  there are still some features we need to add to expand the rejected records use case



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-14 02:42:53 +00:00
Roy Wetherall
2bcaf4222d RM-643: Create record rule within a collaboration site allows folders to be created as records
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-14 01:41:08 +00:00
Tuna Aksoy
e653fe265e Creating a rule within a collaboration site was not possible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-13 18:55:25 +00:00
Roy Wetherall
d6f822caa4 RM-614: Can't declare record without "Undeclare Record" capability
* way access was being determined in the model security service implementation wasn't quite right



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-08 06:01:00 +00:00
Roy Wetherall
24838caf0c RM-623: Unable to rename record folder
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-08 03:58:24 +00:00
Roy Wetherall
d8c5c56d4e RM-618: User with 'ManageRules' capability can not manage rules.
* work around hard coded permission check in code rule service
  * lock down methods with manage rule capability



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47626 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-06 08:15:54 +00:00
Roy Wetherall
b59c98765e RM-618: User with 'ManageRules' capability can not manage rules.
* added some debug to help when trying to diagnose permission deny issues
  * system folder created by the rule service was not a file plan component, so permissions where failing when accessing them as a pure RM user
  * file plan component added as required
  * ManageRules capability needed a filling condition (this may cause the manage rules button to be disabled .. this is another issue and will be addressed shortly .. work around by assigning user filling on file plan for now)
  * added extended method security for rule service .. currently defaults to alllow all, but will need to be closed down with ManageRules capability



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47624 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-06 07:53:17 +00:00
Tuna Aksoy
f2d02f3f31 RM-616 (File to (Link to) and Copy to actions missing for categories and folders)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-05 15:00:44 +00:00
Tuna Aksoy
0c853cc6c0 RM-597 (A records manager can create a rule that automatically rejects an unfiled record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47343 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-28 17:46:11 +00:00
Tuna Aksoy
72c40e7585 Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-28 15:06:21 +00:00
Tuna Aksoy
5198e95a2b Fixed failing test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47310 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-28 14:09:57 +00:00
Roy Wetherall
81806ae2f9 RM-591: A records manager can define a rule that creates folders based on a creation strategy
* RM actions can be configured to allow parmater level substitution
 * Paramater processor component added .. resposibile for processing parameters of an RM action and selecting the correct processor
 * Parameter processor framework added .. new processors can be sprung in using the usual pattern
 * 'node' processor added .. allows simple property value substitution based on the actioned upon node
 * 'date' processor added .. allows simple date value substituation
 * 'message' processor added .. allows message bundle value substitution
 * an example substitution parameter could be .. "/${message.my-company.name}/invoices/${date.month.short}"
 * fileTo action is configured to allow parameter substitution .. with the relative path and auto create features as well it is possible to define a rule that creates records folders based on a simple creation strategy .. for example always file into a record folder for this month



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47262 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-28 07:21:26 +00:00
Tuna Aksoy
5c5259d1de RM-595
A records management administrator can select aspects and types relevant to RM when defining rules with aspect or type related conditions 

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47244 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-27 17:25:01 +00:00
Roy Wetherall
a926a9fc75 RM: Ensure all rules executed on RM artifacts are (for the time being) run as 'rmadmin'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47093 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-26 03:29:26 +00:00
Tuna Aksoy
1ea167364b RM-592 (A records management admin can see the appropriate list of RM related actions and conditions when creating (and managing) rules within the file plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46868 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-20 16:28:02 +00:00
Roy Wetherall
53e37bab75 RM: Add extended rule service which allows RM rules to be executed as RMAdmin
* unit test fix ups
 * fix test fall out from previous changes



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-20 05:08:46 +00:00
Roy Wetherall
25b15c1834 RM-598: A records manager can assign the "Manage Rules" capability to a role.
* new capability added to Admin role by default
  * 2.1 capability patch updated



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46753 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-19 05:22:15 +00:00