Commit Graph

35 Commits

Author SHA1 Message Date
Roy Wetherall
a2f61d5358 RM-831: No actions for Completed/Reopened Record on Details page
* hard coded READ permission check causes RM all kinds of issues



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@54412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-23 00:59:40 +00:00
Tuna Aksoy
ffc533fd5b RM-766 (Rule property substitutions missing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@53594 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-08-04 00:20:46 +00:00
Roy Wetherall
0b916c241f RM-783: File destruction report action (part one)
* ReportService added ... will be used to consolidate the various reports withing RM (specifically those needed for DOD complicance)
  * Base and declarative implementations of report generators added
  * Destruction report configured with place holder implementation (still need to do name generation, meta-data and final template)
  * Report model added, with destructionReport type defined
  * FileDestructionReport capability added (and capability patch bean updated)
  * Repository action added to file destruction report
  * UI configured to show 'file destruction report' action .. (creates a report and files it as an unfiled record as the destruction report type)
  * fixed up destruction capabilities and actions (capability to destroy record regardless of its current dispostion state did not work)
  * added "AtLeastOne" composite capability condition
  * TODO destruction report template, name and meta-data generation
  * TODO patch to add report template structure to rm data dictionary area
  * TODO start refactor of existing reports including transfer, accession, userRights, filePlan and audit!!



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-14 09:54:27 +00:00
Roy Wetherall
87bd9abe53 RM: RecordsManagementService refactor
* move candiate methods into FilePlanService
  * deprecation of RMService methods
  * remove all deprecation warnings from code
  * update filePlanService unit tests
  * remove all other spurious warnings from RM code
  * a couple of performance enhancements in the bowls of the capability evaluation code
  * first pass at parametising RecordsManagementAuditService with file plan (so capability evaluation had a tangable reference)
  * fix up unit test failures and other fall out from refactors



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52504 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-12 06:12:46 +00:00
Craig Tan
bdf16ff712 RM-682 User with Manage Rules capability can't delete the rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52162 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-05 05:25:22 +00:00
Tuna Aksoy
c914e2f02e RM-756 (Rule do not fire within collaboration site)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@52069 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-07-03 13:14:59 +00:00
Tuna Aksoy
42ade1b592 Getting the list of all the properties in the rm rules edit page was not possible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-28 16:01:35 +00:00
Tuna Aksoy
679fe536fe RM-752 (RM Dependency upgrade to 4.2):
Fixed failing tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-06-28 15:09:26 +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
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
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
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
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
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
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
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
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
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
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
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
Roy Wetherall
e593bb5cb5 RM Action extensions to core service:
* rm actions can be applicable to only certain 'kinds' of RM artifacts
  * when retrieveing with context, RM actions are only applicable to RM artifacts and vice verca for DM objects
  * delegate RM action available to be configured against existing DM actions
  * unit tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@45699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2013-01-22 05:08:42 +00:00
Roy Wetherall
33ef651cfc RM-559: 2.0.1 -> 2.1 unfiled records patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-07 06:07:48 +00:00
Roy Wetherall
e7f1b2e62c RM-567: Refactor protected aspects and properties
* actions and capabilities no long linked
  * protected aspects and properties can be configured in their own right
  * protected model security service added
  * action implementation refactored accordingly
  * capability implementations refactored accordingly
  * unit tests 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44229 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-12-03 04:06:47 +00:00
Roy Wetherall
bcd6a044f7 RM: Post merge fixes
* build scripts updated so generated eclipse projects don't double up dependancies
  * demo code removed entirely
  * permission service override replaced with extended class based on updated core permission service implementation
  * unit test juggling 



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@44009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2012-11-26 23:40:35 +00:00