Commit Graph

1065 Commits

Author SHA1 Message Date
gbroadbent
d71123581e ITALIAN: Updated Bundles based on EN-rev2016-08-09 2016-08-16 13:06:58 +01:00
gbroadbent
09543f827c GERMAN: Updated Bundles based on EN-rev2016-08-09 2016-08-16 12:33:15 +01:00
gbroadbent
cf75ea0d78 SPANISH: Updated Bundles based on EN-rev2016-08-09 2016-08-16 11:35:52 +01:00
gbroadbent
bd5e2ac510 SPANISH: Updated Bundles based on EN-rev2016-08-09 (reverted from commit 4f8488aa52) 2016-08-16 11:28:00 +01:00
gbroadbent
4f8488aa52 SPANISH: Updated Bundles based on EN-rev2016-08-09 2016-08-16 11:26:20 +01:00
Roy Wetherall
a5f1540bd2 Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-16 11:23:49 +10:00
gbroadbent
6e23c1fe9c FRENCH: Updated Bundles based on EN-rev2016-08-09 2016-08-15 12:43:22 +01:00
Roy Wetherall
c000285a86 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
9de6c32046 RM-3074: Integration tests
* including fix for ghosted records being visible in collab sites
2016-08-15 13:14:53 +10:00
Roy Wetherall
34bdce8b35 Merge V2.4 to master 2016-08-12 09:02:32 +10:00
Roy Wetherall
c8e7c6272f Merge 4.2.0.1 to 2.4.1 2016-08-12 08:51:14 +10:00
Roy Wetherall
bd460ba1e1 RM-3074: Integration Tests, including BDT test helpers to simplify code 2016-08-12 08:39:13 +10:00
Ana Bozianu
6e97900d63 Merge branch 'feature/RM-3512_QueryForAuthorities' into 'master'
Feature/rm 3512 query for authorities

RM-3512 - Add sorting/filtering capabilities for more than one field

Added canned query to retrieve the authorities so we can sort/filter by multiple fields. We support filtering by name pattern, authority type and clearance(new) and sorting by authority name, display name (new), authority type (new) and clearance (new).

Explaining the query:
  - all the authorities (users and groups) are under a common zone (APP_DEFAULT) whose node id I pass as parameters trough #{authorityContainerNodeId}
  - the authority name is either username (#{qnameUserName}) or group id (#{qnameAuthorityName}).
  - I build the display name by concatenating firstName lastName and groupName. Any user has firstName but not all groups have group names (the default groups only have group id). So if after concatenating the 3 properties the display name is null then we are dealing with a default group. In this case the display name will be the group id without the "GROUP_" prefix = substring(authorityName.string_value, 7)
  - there is no need for qname id null checks as I never pass null to the query. If I can't find a qname id in the database I simply pass INT_MIN so the qname won't match any row. This way the results are not altered and the query is easy to read.
  - the clearance and authority type are not ordered by natural order (ordering alphabetically would look random to the final user) but by a predefined order.

See merge request !410
2016-08-11 18:55:01 +01:00
alfresco-build
c3c6951f0c [maven-release-plugin] prepare for next development iteration 2016-08-11 12:04:46 +01:00
alfresco-build
d5417dce9d [maven-release-plugin] prepare release V2.4.0.1 2016-08-11 12:04:43 +01:00
Roy Wetherall
0a9543405a RM-3074: Unit test for records with renditions 2016-08-11 10:48:31 +10:00
Roy Wetherall
0c0abb4bb4 Merge branch 'master' of gitlab.alfresco.com:records-management/records-management into feature/remove-dynamic-authorities 2016-08-11 10:20:31 +10:00
Oana Nechiforescu
b9300fd503 Updated test to use Cut Off as action label. 2016-08-09 17:53:39 +03:00
Ana Bozianu
f83d9444ca Merge master into feature/RM-3512_QueryForAuthorities 2016-08-09 12:33:43 +03:00
Tom Page
4306c34f8e Merge master into feature/UI_copy_full_review.
Conflicts:
	rm-community/rm-community-repo/config/alfresco/module/org_alfresco_module_rm/messages/actions.properties
	rm-enterprise/rm-enterprise-share/src/main/amp/config/alfresco/site-webscripts/org/alfresco/components/console/classification/caveat-groups.get.properties
	rm-enterprise/rm-enterprise-share/src/main/amp/web/js/alfresco/rm/renderers/i18n/CaveatGroup.properties
	rm-enterprise/rm-enterprise-share/src/main/amp/web/js/alfresco/rm/services/i18n/CaveatService.properties
2016-08-09 09:10:00 +01:00
Roy Wetherall
c7659f9b26 RM-3074: Rename getReader and getWriter methods 2016-08-09 15:06:48 +10:00
Roy Wetherall
79a5548c72 RM-3074: add unit test to show set now replaces, rather than appends extended security 2016-08-09 14:54:47 +10:00
Roy Wetherall
52a4fe9f96 RM-3074: missing file 2016-08-09 12:08:46 +10:00
Roy Wetherall
30985f1784 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
e93bd3b74a 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
b22d408bc5 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
Andy Healey
1f848a87b2 DOCS-2292 2016-08-08 15:20:59 +01:00
Andy Healey
a88bdff642 DOCS-2292 2016-08-08 14:22:53 +01:00
Andy Healey
b2a117bb24 DOCS-2292 2016-08-08 11:55:57 +01:00
Ana Bozianu
656918ebf6 RM-3512 - added firstname to test users as alfresco doesn't support users with null first name 2016-08-08 11:40:17 +03:00
Roy Wetherall
1e4c917c1d 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
0f676aa7f7 RM-3074: review comments 2016-08-08 11:04:30 +10:00
Andy Healey
b55c9362a4 DOCS-2292 2016-08-04 16:09:22 +01:00
Roxana Lucanu-Ghetu
a5ba1b3804 Created a property for AlfrescoRuntimeException instead ot the message. 2016-08-04 11:09:15 +10:00
Roxana Lucanu-Ghetu
d6e365ec6c Moved check for content to be done on commit. 2016-08-04 11:08:53 +10:00
Roxana Lucanu-Ghetu
ee6e676e0d Added check to allow creating only records inside a record folder. 2016-08-04 11:08:36 +10:00
Roy Wetherall
7a3d9e119d MNT-16535: non admin users can't file email records via outlook integration 2016-08-04 10:47:20 +10:00
Andy Healey
d619960d97 DOCS-2292 2016-08-03 15:26:15 +01:00
Andy Healey
e2cf96cc81 DOCS-2292 2016-08-03 15:21:27 +01:00
Roy Wetherall
4531d6a998 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
178fb5f750 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
0cc92cf18a RM-3074: Remove unnecessary files 2016-08-02 20:07:13 +10:00
Roy Wetherall
9be6d1470b 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
f5d36623f1 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
76a22eaa4e RM-3074: unit testing of extended security service impl 2016-08-01 15:06:42 +10:00
Roy Wetherall
aadc00ed1d 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
4b3521094e 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
c6ad5e71f6 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
9f5c4ba5eb RM-3074: Initial refactoring of the extended security service implementation 2016-07-29 13:04:23 +10:00
Ana Bozianu
1ccc6c1846 RM-3708 - replaced authentication service with person service 2016-07-28 10:20:24 +03:00