Commit Graph

158 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
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
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
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
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
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
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
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
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
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
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
Roy Wetherall
13417e16a1 RM: Fix up hide action after changes to extended security service.
* hide now shows only for collab users that have extended write on the record, ie fileRecord capability and filling permission



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46334 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-07 06:56:42 +00:00
Tuna Aksoy
b0110b7c76 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46309 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-06 16:05:49 +00:00
Roy Wetherall
66d9075500 RM-582: A user can edit record meta-data if they have write permissions.
* all users that had 'write' permissions on a document when it becomes a record continue to have 'file' on that record.
* these users also have EditMetadata capability
* this include the owner of the document at the time it was made a record
* extended 'read' permissions for created records continues to work in the same way
* added an extended permission service with additional method to get the writers of a node .. configured and implemented as an extension to the core and held in the RM AMP (could be moved down at a later stage if appropriate)
* patches updated
* unit tests updated (and fixed)
* content model updated to more generic 'ExtendedSecurity' aspect with writers property
* service generalised as an ExtendedSecurityService with appropriate method changes
* mandatory parameter no longer mandatory in create-record action .. fixes issues seen in unit tests and UI

NOTE:  due to the nature of this change any db's created on an earlier 2.1 dev build will need to be reset .. going from 2.0.1 onwards will, however, be fine.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-06 04:53:35 +00:00
Tuna Aksoy
bc4f45f7c7 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-05 13:02:17 +00:00
Tuna Aksoy
5c785ae22e RM-577: Code refactoring
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46157 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-03 21:22:23 +00:00
Tuna Aksoy
4bc75f4db9 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46150 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 18:03:32 +00:00
Tuna Aksoy
3ddc70cf74 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46140 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 15:35:29 +00:00
Tuna Aksoy
fb2a90ff29 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46138 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-02-01 14:36:56 +00:00
Tuna Aksoy
d08b441438 RM-581 (A user will receive notification of rejected records)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46114 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-31 18:47:35 +00:00
Tuna Aksoy
336ef19c99 RM-579 (The records managment team can reject an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46082 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-31 11:48:02 +00:00
Tuna Aksoy
a22907d254 RM-580 (A user has the option to 'file' and 'reject' an unfiled record in the list of available actions)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46061 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-30 19:07:40 +00:00
Tuna Aksoy
23a18a9408 RM-579 (The records managment team can reject an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 18:46:46 +00:00
Roy Wetherall
8b70b49f79 RM-585: A user can create a rule to create a record.
* "hide record" parameter added
 * file plan service extended further
 * some simple utilities added to soak up common service code



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45956 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 07:27:53 +00:00
Roy Wetherall
8ba3c72915 RM: FileTo capability definitions
* tweak the existing capability definitions
  * add RecordFiled capability condition
  * ensure file and move are not available for unfiled records



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45955 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-29 06:33:21 +00:00
Tuna Aksoy
8b6d7ed49c RM-578 (The records management team can file an unfiled record using an UI action)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-27 21:44:22 +00:00
Roy Wetherall
fcabe577a3 RM: Adjust the way the unfiled container is modelled and created.
*  means search and other navigation paths work correctly
 *  will allow the navigation of the unfiled container via other UI's and API's much easier
 *  created the file plan service
 *  methods relating to the unfiled container now encapsulated in the file plan service
 *  TODO move many of the methods in the records management service into the file plan service .. with the ultimate aim of deprecating the catch-all records management service!
 * delt with fall out from changes
 * relates to RM-583

NOTE:  you will need to recreate any db's previously created on the 2.1 development branch ... any pre-2.1 will be fine and patch correctly.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-24 05:53:41 +00:00
Roy Wetherall
035556c8c3 RM: Remove the extended security when 'hiding' a record withing a collaboration site.
* relates to RM-583 ... ensures the records that have been hidden no longer appear in the document search results.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-23 05:03:52 +00:00