Commit Graph

182 Commits

Author SHA1 Message Date
Tuna Aksoy
b7311e28ac Merge branch 'release/V2.4' into merge-2.5/MergeV24ToV25
Conflicts:
	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/rm-action-context.xml
	rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/action/impl/DestroyAction.java
2016-10-05 15:20:19 +01:00
Tom Page
bbf9580519 Let git handle line endings for us. 2016-09-23 10:34:36 +01:00
Ana Bozianu
4d2fc69747 Merge release/V2.4 into release/V2.5 2016-09-21 14:33:23 +03:00
Ana Bozianu
a4030ba15d Merge release/V2.3 into release/2.4 2016-09-21 11:58:40 +03:00
Tuna Aksoy
fa74649d2f RM-3902 (RM 2.5 Community Release) 2016-09-20 16:05:40 +01:00
Roy Wetherall
152a6c3484 RM-3027: Remove extended security when a record is copied 2016-08-22 17:17:43 +01:00
Roy Wetherall
8ce7296712 RM-3074: Deleted creators cause failures when declaring records 2016-08-22 15:06:43 +01:00
Roy Wetherall
1e9d873506 RM-3074: missing file 2016-08-19 10:20:09 +01:00
Roy Wetherall
03f26a0bd2 RM-3074: Review comments 2016-08-17 10:53:40 +10:00
Roy Wetherall
656909148f Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-15 13:15:24 +10:00
Roy Wetherall
ee51bd896a RM-3074: Integration tests
* including fix for ghosted records being visible in collab sites
2016-08-15 13:14:53 +10:00
Roy Wetherall
8e18af430a Merge V2.4 to master 2016-08-12 09:02:32 +10:00
Roy Wetherall
8ada1e3245 Merge 4.2.0.1 to 2.4.1 2016-08-12 08:51:14 +10:00
Roy Wetherall
c325875ab7 RM-3074: Unit test for records with renditions 2016-08-11 10:48:31 +10:00
Roy Wetherall
f7222748ff RM-3074: Rename getReader and getWriter methods 2016-08-09 15:06:48 +10:00
Roy Wetherall
c27b7b60a9 RM-3074: Rename set/remove methods on extended security interface
* create deprecated service interface to tidy things up
* create set method and deprecate exisiting
* crate remove method and deprecate exisiting
* remove deprecation warnings in code
2016-08-09 12:01:16 +10:00
Roy Wetherall
737678aecd RM-3074: place common logic to get readers and writers of a node in one place
* added getReadersAndWriters method to extended permission service
* refactored calling services, consolidating code into one location
* extended unit test

Note: getFullAuthenticatedUser has been removed from writers list as it
makes no logical sense since you must be a writer in order to perform
these operations in the first place.
2016-08-09 11:20:50 +10:00
Roy Wetherall
2b9e7f1dd9 RM-3074: Inplace move no longer needs to modify extended security
* inplace move no longer needs to store and reset extended security
* no need to clear extended security when assoc is removed
* a couple of extra checks to inplace move integration test
2016-08-09 10:27:16 +10:00
Roy Wetherall
3d36795bcc RM-3074: Refactor so read and write groups are reused independantly based on review comments 2016-08-08 12:31:44 +10:00
Roy Wetherall
860e25de6c RM-3074: review comments 2016-08-08 11:04:30 +10:00
Roxana Lucanu-Ghetu
c0c0c225c0 Created a property for AlfrescoRuntimeException instead ot the message. 2016-08-04 11:09:15 +10:00
Roxana Lucanu-Ghetu
32bd60328f Moved check for content to be done on commit. 2016-08-04 11:08:53 +10:00
Roxana Lucanu-Ghetu
649cb7fc3f Added check to allow creating only records inside a record folder. 2016-08-04 11:08:36 +10:00
Roy Wetherall
425e1d8d4c MNT-16535: non admin users can't file email records via outlook integration 2016-08-04 10:47:20 +10:00
Roy Wetherall
ccfd4a12f0 Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-03 10:34:45 +10:00
Ana Bozianu
5b1b95e71b Merge branch 'feature/RM-3708_LDAP_startup_error' into 'master'
Feature/rm 3708 ldap startup error

RM-3708 - [LDAP] Exception "NodeRef may not be null for calls to NodeService" is thrown in logs

The error is thrown when the application tries to run the disposition jobs as "$\{audit.rm.runas\}". When the value is not present in any property file the value is not interpreted.

This only reproduces when using some authentication chains because the authentication service is not reliable to check if a person exists. Some implementations of it just return true (AuthenticationServiceImpl) and some of them, in the best case scenario, reach person service to make the check.

As a fix I replaced authentication service with person service.

See merge request !378
2016-08-02 15:38:21 +01:00
Roy Wetherall
beafb4fbb3 RM-3074: Remove unnecessary files 2016-08-02 20:07:13 +10:00
Roy Wetherall
6c55a67335 Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-02 11:21:40 +10:00
Roy Wetherall
43a961237e RM-3074: groups assigned to RM roles, not authorities
* IPR groups are now assigned to RM roles rather than the individual
authorities
* more unit tests
2016-08-02 11:20:55 +10:00
Roy Wetherall
6756f0f841 RM-3074: unit testing of extended security service impl 2016-08-01 15:06:42 +10:00
Roy Wetherall
a9ceab5424 RM-3074: Add exact group match
* ensure that hash match is backed up with exact match
* fill out JDoc
2016-08-01 13:40:06 +10:00
Roy Wetherall
b536b31858 RM-3074: Find groups and handle clashes
* refactor how existing groups are found
* name with index
* handle hash clahses
2016-08-01 12:41:25 +10:00
Roy Wetherall
18bf4594ff RM-3074: Added root group and zones
* added root inplace group, created on start-up if not already there
* all groups created in RM zone
* fixed up file plan permission unit test and removed ignore from test
suite
* removed delimeters from groups names to keep length to a min
2016-08-01 11:18:51 +10:00
Roy Wetherall
f76b7df53c RM-3074: Initial refactoring of the extended security service implementation 2016-07-29 13:04:23 +10:00
Ana Bozianu
ade55de992 RM-3708 - replaced authentication service with person service 2016-07-28 10:20:24 +03:00
Roy Wetherall
8a2553c082 RM-3649: missing changes 2016-07-27 11:26:21 +10:00
Roy Wetherall
47149bdb57 RM-3649: missed hard coded error messages 2016-07-26 13:07:21 +10:00
Roxana Lucanu-Ghetu
588155bc33 Merge RM-3450_SDFCIntegration into feature/RM-3450_SFDCIntegration_MergeToMaster 2016-07-12 11:47:10 +03:00
Silviu Dinuta
815013fb07 Merge branch 'feature/RM-3651' into 'master'
Feature/rm 3651

Workaround to get rid of the NPE from the logs.

See merge request !326
2016-07-12 09:03:13 +01:00
Roy Wetherall
41120e3298 Merge branch 'feature/RM-3329_Trashcan_gives_an_error' into 'master'
Feature/rm 3329 trashcan gives an error

See merge request !305
2016-07-12 00:36:40 +01:00
Silviu Dinuta
2e1cc03bf4 RM-3651: workaround to skip code execution when first element is not a
record
2016-07-11 18:26:46 +03:00
Ana Bozianu
d9f9372da3 Revert "Merge branch 'feature/RM-3339_IndependentDBSchemaNumber_2' into 'master'"
This reverts commit 4bdfcfc5594c909a2d2e651d09ab211c1a7638f6, reversing
changes made to 25d5b19908395e59543473b574818845dcb207ba.
2016-07-11 10:25:20 +03:00
Ana Bozianu
1b1dce9447 RM-3339 - added db enterprise schema 2016-07-08 18:42:40 +03:00
Kristijan Conkas
9eb4174145 Merge branch 'master' into feature/RM-3227-AttemptTwo 2016-07-08 09:16:11 +01:00
Mihai Cozma
b35a942fbb Format code 2016-07-06 11:28:12 +03:00
Mihai Cozma
d0e3daba66 Verify if node exists 2016-07-06 10:29:07 +03:00
Roy Wetherall
e4d57f5f2d Merge outstanding commits from V2.4 2016-07-06 12:24:24 +10:00
Ana Bozianu
83fa0fec11 RM-2890 - updated json structure 2016-07-05 17:58:31 +03:00
Roxana Dina
36d5dc46ea Revert "Merge branch 'feature-2.4/RM-3265_NoOptionToMoveADestroyedRecordFolder' into 'release/V2.4'"
This reverts commit 0e97de496f, reversing
changes made to f87d5ca0b806ba4fc8086365ebf932c65bf350b2.
2016-07-05 15:48:51 +03:00
Roxana Dina
0e97de496f Merge branch 'feature-2.4/RM-3265_NoOptionToMoveADestroyedRecordFolder' into 'release/V2.4'
Feature 2.4/rm 3265 no option to move a destroyed record folder

RM-3265 No option to move a destroyed record folder.

Disable "Move" action for closed record folder. Change the
display order of the actions for destroyed record folders so that it
remains consistent with the order at other dispositions steps. Rename
Movable(CapabilityCondition) to MovableRecordFolder(CapabilityCondition)
as this condition is designed especially for record folders.

See merge request !277
2016-07-05 10:57:28 +01:00