Tuna Aksoy
cbc45dbb36
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
500c5d5174
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
f3cb6506bc
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
f76c89397d
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
9d6960cccd
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
f4997f59f7
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
523f5dca4f
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
3eea37206e
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
c8d6a69d4c
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
b2a8ec792f
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
803b792883
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
2de84b9b21
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
f85c2be09b
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
24362e6b43
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
4fc222e655
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
c6607e16c5
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
2c371d9eb1
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
e77ddf81eb
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
f14313efdb
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
ce1a54172e
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
1140796017
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
32db2c3ab0
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
e1015363a7
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
82e316d5aa
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
01a48c2213
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
7b0294ab23
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
c38034690b
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
a1870a874f
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
01296ec944
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
71df88c3b8
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
df742d4fb0
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
bc2c837ba2
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
e20d80f76e
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
bebcf78828
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
3c5e1b97b6
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
0d6f4c6f98
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
b5247c9000
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
860d974e6c
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
b4cfc739fb
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
efa04f6a65
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
9552a408df
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
d91f9dc696
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
b7bc93ff02
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
a227494f99
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
01ef0c1bba
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
Gloria Broadbent
0ce45ab065
BRAZILIAN PORTUGUESE: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97220 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:08:12 +00:00
Gloria Broadbent
7a4e5f3eb6
RUSSIAN: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97219 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:07:13 +00:00
Gloria Broadbent
5e136f33d7
NORWEGIAN (Bokmal): Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97218 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:06:05 +00:00
Gloria Broadbent
06f4e8a688
JAPANESE: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97217 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:05:00 +00:00
Gloria Broadbent
ca917eba7c
ITALIAN: Updated files as per EN-RM-rev96840
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 11:03:00 +00:00