Tuna Aksoy
d35a700360
RM-2129 (Check classification before method execution)
...
* Preventing access to information without appropriate security clearance
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-06 15:24:26 +00:00
Tuna Aksoy
c2405ac03a
RM-2129 (Check classification before method execution)
...
* Commenting the list of pre enforcement check methods temporarily out. getProperties causes problems in the UI although all the integration tests succeed.
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107681 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 15:28:05 +00:00
Tuna Aksoy
a6ab82152d
RM-2129 (Check classification before method execution)
...
+review RM-117
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-03 14:41:53 +00:00
Tuna Aksoy
e6fe911fcf
RM-2129 (Check classification before method execution)
...
+review RM @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107649 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-07-02 18:05:18 +00:00
Tuna Aksoy
ea4d00f100
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
- Code refactored
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 19:15:27 +00:00
Neil McErlean
fa3f1230a4
RM-2333, RM-2341, RM-2342, RM-2343, RM-2344, RM-2346.
...
Changed Classification Agency to optional throughtout the stack and added a new mandatory property Classified By throughout the stack.
Addressing the fallout in the existing tests due to these changes.
Also enhanced some existing tests to validate the classified by value persistence.
Still to do: need to initialise the Classified By field in the Classify dialog to the current user's full name (not as easy as I'd thought) and add additional AC tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-30 15:32:47 +00:00
Tuna Aksoy
366af3d7c4
Workflows could not be started after classification enforcement
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107368 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:27:25 +00:00
Tuna Aksoy
7b5835297d
Merged DEV/ENFORCE to HEAD:
...
105194: First pass at classification interceptor
105294: Fixed compilation issue
105323: Updated Aikau version to 1.0.20
105565: RM-2129 (Check classification before method execution)
105923: RM-2130 (Check classification after method execution, filtering results where appropriate)
106103: RM-2130 (Check classification after method execution, filtering results where appropriate)
106104: RM-2130 (Check classification after method execution, filtering results where appropriate)
106169: RM-2130 (Check classification after method execution, filtering results where appropriate)
106187: RM-2130 (Check classification after method execution, filtering results where appropriate)
106283: RM-2130 (Check classification after method execution, filtering results where appropriate)
106356: RM-2130 (Check classification after method execution, filtering results where appropriate)
106552: RM-2130 (Check classification after method execution, filtering results where appropriate)
106639: RM-2130 (Check classification after method execution, filtering results where appropriate)
106657: RM-2130 (Check classification after method execution, filtering results where appropriate)
106658: RM-2130 (Check classification after method execution, filtering results where appropriate)
106772: RM-2130 (Check classification after method execution, filtering results where appropriate)
106774: RM-2130 (Check classification after method execution, filtering results where appropriate)
107009: RM-2130 (Check classification after method execution, filtering results where appropriate)
107163: RM-2130 (Check classification after method execution, filtering results where appropriate)
107164: RM-2130 (Check classification after method execution, filtering results where appropriate)
107246: RM-2130 Post method invocation processor for QueryEngineResults.
107252: RM-2130 (Post method invocation processor for QueryEngineResults)
107253: RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
107257: RM-2130 (Check classification after method execution, filtering results where appropriate)
107270: RM-2130 (Check classification after method execution, filtering results where appropriate)
107272: RM-2130 (Check classification after method execution, filtering results where appropriate)
107273: RM-2130 (Check classification after method execution, filtering results where appropriate)
107274: RM-2130 (Check classification after method execution, filtering results where appropriate)
107275: RM-2130 (Check classification after method execution, filtering results where appropriate)
107282: RM-2130 Add support for other collections than Lists.
107344: RM-2367 (Automate AC: Access to saved search)
107355: RM-2130 Support for specific instantiable collections.
107363: RM-2130 (Check classification after method execution, filtering results where appropriate)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107367 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 21:24:16 +00:00
Tuna Aksoy
7a3bdd3699
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107363 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 17:03:48 +00:00
Tom Page
e9a5f28f85
RM-2130 Support for specific instantiable collections.
...
It's impossible to instantiate/clone a generic collection, so if a member of the collection
changes then our only option is to attempt to remove it. This has two problems. Firstly,
this is far more brutal than we desire in many cases. Secondly, some collections do not
implement the remove method (e.g. anything returned by Arrays.asList()).
As an attempt to work around this issue we've created some specific implementation
processors. This introduces new potential problems - e.g. if someone has used an exotic
type of list it will be replaced with an ArrayList by the ListPostMethodInvocationProcessor.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107355 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 15:18:49 +00:00
Tom Page
4b39c868ce
RM-2130 Add support for other collections than Lists.
...
Unfortunately most methods in the CollectionUtils helper class convert
collections to lists, and so is not suitable for our usage.
+review RM @taksoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107282 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-29 08:48:10 +00:00
Tuna Aksoy
afa0ac0229
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107275 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 19:50:07 +00:00
Tuna Aksoy
d320b4dad6
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107272 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-28 13:39:10 +00:00
Tuna Aksoy
8fa46a4e14
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107270 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-27 22:23:19 +00:00
Tuna Aksoy
74267d0119
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107257 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 16:00:26 +00:00
Tom Page
b1e8da1198
RM-2130 Make CollectionPostMethodInvocationProcessor concrete.
...
+review RM-113
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 15:36:13 +00:00
Tuna Aksoy
423850002e
RM-2130 (Post method invocation processor for QueryEngineResults)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 15:28:22 +00:00
Tom Page
06ed0a6015
RM-2130 Post method invocation processor for QueryEngineResults.
...
+review RM @taksoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-26 14:47:03 +00:00
Tuna Aksoy
03e696e524
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107164 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 22:45:52 +00:00
Neil McErlean
5a88c1d5c8
RM-2333. Rename ClassificationAuthority to ClassificationAgency. +review RM
...
This addresses parts of RM-2341, RM-2342, RM-2343 and RM-2344. It replaces authority with agency in the content model
, the services and their APIs, the UI layer and the rm-automation tests.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@107108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-25 13:24:38 +00:00
Tuna Aksoy
662b0db31f
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@107009 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-24 19:39:48 +00:00
Tuna Aksoy
f1cb06d937
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106774 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-22 22:41:26 +00:00
Tuna Aksoy
acccd7ca3a
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-22 21:52:08 +00:00
Tuna Aksoy
24cc5ca519
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-21 21:58:42 +00:00
Tuna Aksoy
862fde1e61
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-21 19:47:57 +00:00
Tuna Aksoy
3772764f8e
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106639 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-20 18:42:32 +00:00
Tom Page
2fb85342f1
RM-2326 Rest API for GET exemption categories.
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 15:35:32 +00:00
Tom Page
3bcad6ee1e
RM-2320 Java API for getExemptionCategories.
...
Also RM-2321 automation testing for the initial loading of exemption
categories.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 14:28:20 +00:00
Tuna Aksoy
e79b4a9d8f
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106552 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 12:39:04 +00:00
Tom Page
3eb1599fd9
RM-2319 Declare parameter key as "final".
...
This is needed to compile in java 7, but not java 8.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 10:16:06 +00:00
Tom Page
5d1ab4fa87
RM-2319 Refactor ClassificationServiceBootstrap.
...
Simplify code to load classification levels, classification reasons and
exemption categories using the same method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:20 +00:00
Tom Page
941b637552
RM-2319 Validate classification reasons and exemption categories.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:18 +00:00
Tom Page
81f5c589c5
RM-2319 Create a general classification scheme entity validator.
...
Replace the existing classification level validator with the new class.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:13 +00:00
Tom Page
4ee3afa208
RM-2319 Separate the field validation from ClassificationLevelValidation.
...
Create field validators that are small and potentially re-usable.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106527 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:10 +00:00
Tom Page
88ee670c81
RM-2319 Refactor ClassificationServiceDAO.
...
All the config loading is now done by a single method using a factory to
create the individual entities.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:07 +00:00
Tom Page
cbe6ca551e
RM-2319 Create marker interface for entities created from config files.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-19 09:52:05 +00:00
Tom Page
14bd5e4da8
RM-2319 Bootstrap initial exemption categories into the system.
...
This change does not include any validation. There is currently no
validation being done for classification reasons either, so it seemed
to make sense to do both in a separate change.
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-17 15:38:10 +00:00
Tuna Aksoy
d8f71fba18
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-16 20:17:27 +00:00
Tuna Aksoy
d79c6c2105
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-16 14:30:37 +00:00
Tuna Aksoy
4357be8ef4
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-16 09:12:56 +00:00
Tuna Aksoy
d975418fa6
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106169 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-15 20:59:10 +00:00
Neil McErlean
c43ac5ab12
Trivial changes. Improved an exception message after review comments and fixed a copyright year.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106143 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-15 13:37:14 +00:00
Neil McErlean
623ac8eff8
Implementation of new tests as part of RM-2241.
...
Test to ensure the Unclassified abbreviation ('U') is rejected when duplicated by end user configuration.
Test to ensure any duplicate abbreviations are rejected.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-15 12:04:27 +00:00
Tuna Aksoy
f7ab449f79
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-14 22:32:59 +00:00
Tuna Aksoy
b83bc89275
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
+review RM-94
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-14 21:05:58 +00:00
Tuna Aksoy
f2010a9f2f
RM-2280 (Move the code for checking if the content is classified to the service layer)
...
* moved the check to content classification service
+review RM-87
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-12 20:39:33 +00:00
Tom Page
ac56441fc3
RM-2217 Allow null as a filter value.
...
Also add a few unit tests for the file.
+review RM-96
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106034 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-12 13:19:08 +00:00
Tuna Aksoy
7c62bef29e
RM-2260 (Users with read&file permissions on content can not classify it if they are not the owners)
...
+review RM @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-12 12:57:09 +00:00
Tom Page
ed210cd336
RM-2217 Filtering with special characters - fix backslash.
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@106011 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-12 10:09:21 +00:00
Tuna Aksoy
aa746dd474
RM-2130 (Check classification after method execution, filtering results where appropriate)
...
* Initial (early) commit to get feedback from the review
* The "check" method will be changed later
+review RM @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@105923 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-06-11 09:37:24 +00:00