103049: Merged BRANCHES/V2.2 to BRANCHES/V2.3:
103037: Merged BRANCHES/V2.2.1.x to BRANCHES/V2.2:
102241: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102242: RM-1100 (Uncaught LockAcquisitionException in RM 2.0.4)
102267: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102269: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102279: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102486: RM-2072: Concurrency exceptions and deadlocks on Records Management "File to" rule
102636: RM-2191 ("Create Category" and "Manage Permissions" buttons are enabled for user with read-only permissions)
102675: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102687: RM-2192 (User has no access to the recorded document after it was filed)
102698: Removed warnings
102699: .ant-targets-build.xml files added to svn:ignore
102700: .ant-targets-build.xml files added to svn:ignore
102701: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102756: RM-2192 (User has no access to the recorded document after it was filed)
102762: Commented out intermittently failing test
102795: (RECORD ONLY) Deploy RM 2.2.1.1 on Maven Repository
102807: (RECORD ONLY) Changed the artifact version to 2.2.1.2-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@103059 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
103037: Merged BRANCHES/V2.2.1.x to BRANCHES/V2.2:
102241: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102242: RM-1100 (Uncaught LockAcquisitionException in RM 2.0.4)
102267: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102269: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102279: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102486: RM-2072: Concurrency exceptions and deadlocks on Records Management "File to" rule
102636: RM-2191 ("Create Category" and "Manage Permissions" buttons are enabled for user with read-only permissions)
102675: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102687: RM-2192 (User has no access to the recorded document after it was filed)
102698: Removed warnings
102699: .ant-targets-build.xml files added to svn:ignore
102700: .ant-targets-build.xml files added to svn:ignore
102701: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102756: RM-2192 (User has no access to the recorded document after it was filed)
102762: Commented out intermittently failing test
102795: (RECORD ONLY) Deploy RM 2.2.1.1 on Maven Repository
102807: (RECORD ONLY) Changed the artifact version to 2.2.1.2-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@103049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Added a securityClearance aspect to the classifiedContentModel.
This can be applied to a user’s person node to give them clearance.
TODO. Not clear how/if we can use this for groups of users.
Added a SecurityClearanceService which gets users’ security clearances.
Added a getDefaultClassificationLevel method to the ClassificationService.
TODO This needs to be reviewed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@103042 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
102241: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102242: RM-1100 (Uncaught LockAcquisitionException in RM 2.0.4)
102267: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102269: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102279: RM-2072 (Concurrency exceptions and deadlocks on Records Management "File to" rule)
102486: RM-2072: Concurrency exceptions and deadlocks on Records Management "File to" rule
102636: RM-2191 ("Create Category" and "Manage Permissions" buttons are enabled for user with read-only permissions)
102675: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102687: RM-2192 (User has no access to the recorded document after it was filed)
102698: Removed warnings
102699: .ant-targets-build.xml files added to svn:ignore
102700: .ant-targets-build.xml files added to svn:ignore
102701: RM-2190 (Concurrency exception when upload document to several folders with rules configured to file records)
102756: RM-2192 (User has no access to the recorded document after it was filed)
102762: Commented out intermittently failing test
102795: (RECORD ONLY) Deploy RM 2.2.1.1 on Maven Repository
102807: (RECORD ONLY) Changed the artifact version to 2.2.1.2-SNAPSHOT
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@103037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
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
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
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
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