Commit Graph

285 Commits

Author SHA1 Message Date
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
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
Tuna Aksoy
682de2ef05 For every unfiled record a webpreview.swf was shown (in unfiled records container) after the details page of the unfiled record was viewed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47902 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-11 23:40:44 +00:00
Tuna Aksoy
506e80bd87 The unfiled records were not shown in the unfiled records container
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-11 22:40:42 +00:00
Roy Wetherall
c6d07fbdcc RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-11 08:57:17 +00:00
Tuna Aksoy
dd4b136d35 RM-622 ("Manage Permissions" for "File Plan" influence "Manage Permissions" for "Unfiled Records")
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-10 17:49:16 +00:00
Roy Wetherall
37bd1b21e1 RM-615: Can declare record in closed folder without Declare Records In Closed Folders capability
* moved the declareInClosedFolder capability into the record group from the folder group



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-08 08:03:27 +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
3877220922 RM: Fix move and copy from collaboration into RM
* despite being superceeded by the inplace features for most users, it should still be possible for 'power' rm users to copy directly into the file plan
  * relates to RM-566



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-07 06:35:19 +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
5bbb3757e1 Unit tests for RM-592 and RM-595
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47478 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-03 15:09:55 +00:00
Roy Wetherall
772ff8aaac RM-599: A records user with the capability "Manage Rules" can access the manage rules functions.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-03-01 04:25:41 +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
Tuna Aksoy
66e8923643 Fixed failing tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-28 10:00:03 +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
c626585c1a Fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47245 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-27 17:25:18 +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
Samuel Langlois
6a3fb303a4 Delete content store at the same time as the database
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@47075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-25 17:01:29 +00:00
Tuna Aksoy
fe51e3ff21 Unit test were failing (NoSuchBeanDefinitionException)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-21 14:38:56 +00:00
Tuna Aksoy
349e93e783 Fixed typo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46888 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-20 21:18:18 +00:00
Tuna Aksoy
7857f3b2f7 Unit test were failing (NoSuchBeanDefinitionException)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46887 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-20 21:18:05 +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
Roy Wetherall
5df0c1e114 RM: Added FilePlanAuthenticationService
* provides methods to allow code to be run as the rm admin user and to retrieve the rm admin user name
  * all unit tests now run as rm admin user by default
  * default bootstrap user name configurable (as well as pwd)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46751 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-19 04:09:21 +00:00
Roy Wetherall
23206d29a3 RM: Global RM admin user added
* this allows code to be 'runAsRMAdmin' .. rather than having to use System (remember 'admin' isn't nessesarily an rm admin)
  * will give us the option to run rm rules as rmAdmin (this may be the default case for the time being and later part of the configuration of the rule)
  * will also allow us to add RM admin level security to methods (for example can only create a role if you are an rm admin)
  * rmAdmin user has global RM admin rights to all file plans (when we go to multi-file plan support)
  * rm user bootstrapped via module 'patch' .. this will execute on existing V2.1 db's
  * filePlanRoleService unit test (was missing! .. my bad!)
  * relates to RM-596 (this rule needs to be executed as the rm admin)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-18 23:50:21 +00:00
Roy Wetherall
017efecda9 RM: FileTo action will create a record folder if it can not be found by the provided relative path
* this is not the default behaviour and needs to be specified via a action property
  * only executable as the RMAdmin atm 
  * not yet available via the UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-18 00:47:11 +00:00
Tuna Aksoy
e1cd914489 RM-593 (A content user can not create a record from a document that is synched to the cloud)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46716 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-15 20:57:32 +00:00
Roy Wetherall
beb0d2ec30 RM-596: A records manager can create a rule that automatically files an unfiled record.
* initial action implementation added
  * can handle relative name paths to find destination record folder
  * unit test
  * TODO .. expose in UI



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46609 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-14 01:42:19 +00:00
Roy Wetherall
607f28c48b RM action framework refactor
* simplifies RM action implementation
  * prevents execution of duplicate code



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46547 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-12 23:23:56 +00:00
Roy Wetherall
aad0c5b138 RM: Unit test fixes
* added file plan service to RM service registry



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46505 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-12 04:17:56 +00:00
Roy Wetherall
e05fe9d05c Merged V2.0 to HEAD :
44136: "RM-464: Grammatical error in disposition schedule".
   45018: RM-539 (JS Error while deleting a role)
   45019: RM-415 (RM Console - Define Roles tab - 'Select All' button is present while editing role when all the check-boxes were checked during role creation)
   45034: RM-497 (Distorted folders name after Load Test Data DODExampleFilePlan.xml)



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-12 03:36:46 +00:00
Roy Wetherall
a8a44ed898 RM: Remove deprecated warnings
* from recent file plan service refactor
  * also added helper unit test used to generate a capability report



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46462 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 06:29:43 +00:00
Roy Wetherall
2956dae8e9 RM: Patch to add new "CreateRecords" capability.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 05:02:16 +00:00
Roy Wetherall
47dccdd895 RM: Fix build
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 04:17:01 +00:00
Roy Wetherall
f85e45a3e7 RM: Fix up "Access Denied" issues when sending record reject notification email
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-11 03:30:36 +00:00
Roy Wetherall
d72f12738f RM: Add CreateRecord capability
* an assignable capability
 * performs as the missing 'filling' capability
 * also added a unassignable capability for HideRecords
 * ensures that extended writers .. ie users that have temporary filling permission on records .. can not then fileTo or reject records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46408 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-08 05:05:30 +00:00
Roy Wetherall
6cb7541653 RM: Permission denied exception when filling an unfiled record fixed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-07 22:51:59 +00:00