Tuna Aksoy
87c922dda3
RM-2044 (Add "Classified" aspect)
...
+review RM @rwetherall @tpage
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101929 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-15 14:01:09 +00:00
Tom Page
3f866a031a
RM-1947 New constraint to avoid invalid classification levels.
...
Create a service locator class to allow the non-Spring constraint to access
the Spring service.
+review RM-21
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-14 09:33:51 +00:00
Tuna Aksoy
11a515e666
RM-1842 (View users security clearance)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101590 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-09 18:14:48 +00:00
Roy Wetherall
200d7c7277
Add stub classified content model
...
* model I18n added
* added Java contanstants via interface for convenience
* includes a couple of renames for consistency
* relates to RM-1947
+review RM-18
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101539 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-09 02:24:39 +00:00
Tuna Aksoy
df9ab69ab8
RM-1827 ("Declare" actions become available for user only after re-login)
...
* Changes reverted
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-08 09:18:58 +00:00
Tuna Aksoy
eeafedd88e
RM-2028 Create a rest API to get classification reasons
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-01 13:30:18 +00:00
Tom Page
10e3036d05
RM-2028 Create a rest API to get classification reasons.
...
The API can be accessed through the following URI:
http://localhost:8080/alfresco/service/api/classification/reasons
Note that the private classificationService bean is currently being used
as there is an issue with the authentication when using the public bean.
Log error message contains:
Caused by: net.sf.acegisecurity.AccessDeniedException: Access is denied.
RM method security check was performed.
Failed on method: getClassificationReasons()
; nested exception is net.sf.acegisecurity.AccessDeniedException: Access is denied.
at org.alfresco.module.org_alfresco_module_rm.security.RMMethodSecurityInterceptor.beforeInvocation(RMMethodSecurityInterceptor.java:299)
+review RM @taksoy
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-01 12:27:01 +00:00
Tom Page
e0c15e68ff
Extract the config file locations into the global properties file.
...
+review RM-12
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@101024 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-04-01 09:18:00 +00:00
Tom Page
c0cf957490
Specify the ClassificationServiceDAO bean class in the context file.
...
Hopefully this will fix the 2^9+2^6 test failures.
+review RM-12
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100728 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-30 15:23:15 +00:00
Tom Page
f95eabd052
Wire the ClassificationServiceDAO using Spring injection.
...
Also small change to lower visibility of ClassificationServiceDAO member
variables from public to private.
+review RM @nmcerlean @rwetherall
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100721 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-30 14:49:10 +00:00
Tom Page
d2ce0009d9
RM-2074 Bootstrap initial classification reasons.
...
+review RM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100134 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-26 10:43:48 +00:00
Neil McErlean
5ae80ab2b1
Second and final tranche of post-code-review changes for RM-1945 & RM-1946.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100094 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-25 19:39:09 +00:00
Neil McErlean
0cfc1a98bf
First updates following code review on RM-1945 & RM-1946. Thanks Roy & Tom!
...
Renamed a public service method to getClassificationLevels.
Removed a redundant test method.
Code tidying.
Various internal renames to help readability.
Slight javadoc improvements.
Also some trivial changes like fixing typos and copyright years etc.
Removing warnings from within AuthenticationUtil blocks allows IntelliJ to fold them to Java 8 closure format. (fistpump).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@100020 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-24 21:15:22 +00:00
Neil McErlean
34ac9e0cc7
Build fix. Removed the init-method declaration (related to RM-1945 & RM-1946).
...
I actually thought I'd done this in the previous commit, but I hadn't. (blush).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-24 13:42:58 +00:00
Neil McErlean
5451568517
Tidyup as part of RM-1945 and RM-1946. Attempt to fix the failing build.
...
Although the Alfresco server starts fine on my machine, there is a timing/dependency issue which means that on Bamboo, ClassificationServiceImpl.initConfiguredClassificationLevels attempts to use the Alfresco DB before it is fully ready.
This check-in changes the service startup so that instead of using a spring init-method, it uses a LifecycleBean to run the initialisation after the server has fully started up.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99962 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-24 11:32:44 +00:00
Neil McErlean
bcf5516259
A preliminary and speculative fix to the RM startup sequencing issues caused by the addition of the ClassificationService (as part of RM-1945, RM-1946).
...
I've moved the declaration of the service spring bean further down the list - notably beyond the RM patches.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-23 23:06:46 +00:00
Neil McErlean
aee333172a
Initial creation of ClassificationService, as part of RM-1945 and RM-1946.
...
This check-in adds the basic ClassificationService API, its initial implementation, ClassificationServiceImpl, along with some basic support types such as ClassificationServiceException (for service-specific exceptions) and Configuration.
It also adds unit tests ClassificationServiceImplUnitTest and ConfigurationUnitTest.
The ClassificationService begins our support for ‘Classified Records’, whereby Alfresco content can be given a ClassificationLevel and thereafter will only be accessible to users with the appropriate security clearance.
The vanilla service includes a default set, rm-classification-levels.json (Top Secret etc) which links through to the i18n’d display data via rm-classification.properties in the usual way.
The service is defined in its own spring context file, rm-classified-records-context.xml, as it is distinct from the file plan and should be applicable to content outside that file plan.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99932 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-23 18:22:26 +00:00
Roy Wetherall
a6e1a890ea
Merged V2.3 to HEAD:
...
99472: Merged V2.2 to V2.3:
99471: RM-2058: RM Manager can't access Users and Groups (after upgarde)
99473: Fix merge error (RM-2058)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99474 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-16 01:26:19 +00:00
Roy Wetherall
cac665797f
Fix merge error (RM-2058)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@99473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-16 00:39:30 +00:00
Roy Wetherall
860e07b25a
Merged V2.2 to V2.3:
...
99471: RM-2058: RM Manager can't access Users and Groups (after upgarde)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@99472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-16 00:17:26 +00:00
Tuna Aksoy
4ac32d51a6
RM-1827 ("Declare" actions become available for user only after re-login)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@98379 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-02 21:58:14 +00:00
Gloria Broadbent
199bac798e
SIMPLIFIED CHINESE: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@98007 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 12:57:07 +00:00
Gloria Broadbent
97cbbf5aaa
BRAZILIAN PORTUGUESE: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@98006 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 12:55:33 +00:00
Gloria Broadbent
64278f7571
RUSSIAN: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@98005 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 12:54:50 +00:00
Gloria Broadbent
2e800af608
NORWEGIAN (Bokmal): Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@98004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 12:54:19 +00:00
Roy Wetherall
0834d4961c
RM-1959: User can add/remove relationship to/from record he has read-only permissions for
...
* integration tests
* small fix to service implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97950 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 04:17:54 +00:00
Roy Wetherall
dfd9b25670
RM-1973: Can't add to hold
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97949 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 01:31:54 +00:00
Roy Wetherall
af6f894ed0
Prevent incompatiable disposition schedules from being linked together
...
* the unpredicatable behaviour was caused by this incompatibility and the resulting uncertaintity over which level of dispostion would 'win'
* RM-1963: It is not possible to cut off record scheduled for cut off if it's linked to a folder with disposition schedule with cut off step set on folder.
* RM-1962: The disposition schedule steps are not working as expected on a record linked to a folder with disposition schedule on it's own.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97948 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-25 00:25:33 +00:00
Roy Wetherall
890dd9417c
RM-1956: Create record capability allows user to edit metadata and copy category/folder /record
...
* fixes issue relating to filing records with only CreateRecord capability
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 21:38:10 +00:00
Gloria Broadbent
60a75c4105
DUTCH: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:53:05 +00:00
Gloria Broadbent
c58fa9e00a
JAPANESE: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97863 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:52:33 +00:00
Gloria Broadbent
21fbb4abda
ITALIAN: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:52:05 +00:00
Gloria Broadbent
8b59da9a59
FRENCH: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:51:34 +00:00
Gloria Broadbent
09f6128435
SPANISH: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:51:01 +00:00
Gloria Broadbent
96b31c63d6
GERMAN: Updated files as per EN-RM-rev97654
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 12:50:34 +00:00
Roy Wetherall
fc3fb36a3b
Attempt to fix failing Unit Tests that are passing locally.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 00:07:08 +00:00
Roy Wetherall
ca1f697f45
RM-1972: Methods with invalid policy are granted access
...
* invalid policy defintions now throw exception .. previously they just granted!
* invalid capability definitions now throw exception .. previously they abstained with no message
* reference to RM.Write removed and replaced with RM.Create or more appropriate permission check
* adjustments to hold capabilities since they wheren't being exercised as we thought
* ManageAccessRights no longer checks for frozen .. you should be able to manage the permissions of an object if it's frozen and you have the capability
* Unit tests for new code and adjustments
* Tweaks to existing integration tests where required
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-23 23:02:09 +00:00
Tuna Aksoy
481341dedb
RM-1651 (Capabilities for Copy to action)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97717 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-22 13:34:27 +00:00
Tuna Aksoy
2e55345b52
RM-1964 ("Declare Record" is disabled in Unfiled Records)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 14:21:57 +00:00
Tuna Aksoy
4b205e5df1
Changed some of the strings (after feedback from the Docs team)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97465 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 11:27:12 +00:00
Tuna Aksoy
6ff6d1fd4e
Fixed failing unit test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97448 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 09:25:05 +00:00
Roy Wetherall
db161828bf
RM-1903: Can't manage permissions without "Manage Access Controls" capability
...
* switches CreateModifyDestroyUsersAndGroups for ManageAccessControls (ie assignment of groups and users to roles) as they where being used incorrectly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97435 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 01:30:26 +00:00
Tuna Aksoy
97be4d6b31
RM-1956 (Create record capability allows user to edit metadata and copy category/folder /record)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 00:10:11 +00:00
Tuna Aksoy
e2568a690c
RM-1957 ("New Folder" button is disabled inside unfiled folder)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97376 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-18 13:21:15 +00:00
Tuna Aksoy
58e528daf9
RM-983 (Incorrect path to unfiled records is shown on details page or manage rules form)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97294 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 20:45:48 +00:00
Ana Bozianu
283c2464ec
accidental commit reverted
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97252 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 14:45:37 +00:00
Ana Bozianu
38ef6ad1c2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97243 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 14:13:04 +00:00
Gloria Broadbent
09eafcc11a
DUTCH: Updated file as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97227 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:41:01 +00:00
Gloria Broadbent
bf70ce46d8
DUTCH: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:16:27 +00:00
Gloria Broadbent
bfe937b5c7
SIMPLIFIED CHINESE: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97221 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:09:38 +00:00