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
RM-3074: Find groups and handle clashes
* refactor how existing groups are found
* name with index
* handle hash clahses
RM-3074: Add exact group match
* ensure that hash match is backed up with exact match
* fill out JDoc
RM-3074: unit testing of extended security service impl
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
RM-3074: Remove unnecessary files
RM-3074: review comments
RM-3074: Refactor so read and write groups are reused independantly based on review comments
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
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.
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
RM-3074: missing file
Change in project structure
RM-3074: Rename getReader and getWriter methods
RM-3074: Unit test for records with renditions
RM-3074: Integration Tests, including BDT test helpers to simplify code
RM-3074: Integration tests
* including fix for ghosted records being visible in collab sites
Add completeEvent method
RM-3074: Review comments
RM-3074: Contributor didn't get write in-place access as expected
* owner derived from cm:creator was not added to writer list
* fully authenticated user in base test was being set incorrectly
* transaction executed outside authentication in BDT classes
RM-3074: missing file
RM-3074: Fixup community integration tests
RM-3074: Fixed failing test
RM-3074: Test group reuse
RM-3074: Deleted creators cause failures when declaring records
RM-3074: Fix unit tests
RM-3074: Remove extended security when a record is copied
Add AlfMock to help backport unit tests
RM-3074: Compile tests with 1.8
RM-3074: Fix integration test
RM-3074: Fix integration tests
* 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
* 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
76115: Update version to 2.1.1
83912: Updated the Alfresco dependency from 4.2.2 to 4.2.3.1 for RM 2.2
89173: Merged BRANCHES/v2.1.0.x to BRANCHES/v2.2:
68559: (RECORD ONLY) Change base Alfresco version from 4.2.0-RC4 to 4.2.0
68568: (RECORD ONLY) Merge from HEAD to BRANCHES/V2.1.0.x
68569: (RECORD ONLY) Update module version to 2.1.0.1
76475: (RECORD ONLY) Merge HEAD to BRANCHES/V2.1.0.x:
76597: (RECORD ONLY) Merge HEAD to BRANCHES/V2.1.0.x:
74932: RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
76598: (RECORD ONLY) Merged HEAD to BRANCHES/V2.1.0.x:
75102: RM Performance testing
76599: (RECORD ONLY) Update module version to 2.1.0.2
76601: (RECORD ONLY) Merged HEAD to BRANCHES/V2.1.0.x:
75186: RM Performance Improvements
89251: Merge BRANCHES/V2.1.0.x to BRANCHES/V2.2:
68559: Change base Alfresco version from 4.2.0-RC4 to 4.2.0
68568: Merge from HEAD to BRANCHES/V2.1.0.x
68569: Update module version to 2.1.0.1
76475: Merge HEAD to BRANCHES/V2.1.0.x:
76597: Merge HEAD to BRANCHES/V2.1.0.x:
74932: RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
76598: Merged HEAD to BRANCHES/V2.1.0.x:
75102: RM Performance testing
76599: Update module version to 2.1.0.2
76601: Merged HEAD to BRANCHES/V2.1.0.x:
75186: RM Performance Improvements
76673: Root container cache to improve unfiled record browse performance
* relates to RM-1594 and RM-1595
76850: RM performance enhancements
* serach improvements
* in-place record browse improvements
* saved search via file plan browse improvements
76851: Additional unit test to check extended security with cache is working as expected.
76852: Rollback checked in config
77709: RM-1630: Error on manage references page
* regression caused by performance improvements
84337: Update version to 2.1.0.3
84421: Transaction level cahcing of declarative capability evaluation
84676: Fix build
84677: Prevent unnessary repeated creation of QName
84678: Improvements to extended dynamic authorities
* requiredFor set
* direct access to extended permission information, not via service
84679: Correct requiredFor value
88087: RM-1661 (Performance on setting permissions at a high category level)
88092: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88144: RM-1661 (Performance on setting permissions at a high category level)
88182: RM-1724 (Inheritance is not off for root categories, unfiled records, holds and transfers)
88192: RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests
88193: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88358: RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests
88685: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
88686: RM-1741 (Moved root category doesn't inherit permissions)
88687: RM-1741 (Moved root category doesn't inherit permissions)
* Unit test added
88688: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
* Unit test added
88691: RM-1745 (RM Admin role can only be added with read permission on the manage permission page)
88772: RM-1741 (Moved root category doesn't inherit permissions)
88860: RM-1661 (Performance on setting permissions at a high category level)
88864: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88959: RM-1746 (Moved record/category always have the inheritance on)
88960: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88961: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88962: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
89252: Added missing test
89253: Removed warnings
89348: RM-1751 (Merge performance improvements made for RM 2.1.0.3 onto RM 2.2.1)
89455: RM-1751 (Merge performance improvements made for RM 2.1.0.3 onto RM 2.2.1)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89458 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
68559: Change base Alfresco version from 4.2.0-RC4 to 4.2.0
68568: Merge from HEAD to BRANCHES/V2.1.0.x
68569: Update module version to 2.1.0.1
76475: Merge HEAD to BRANCHES/V2.1.0.x:
76597: Merge HEAD to BRANCHES/V2.1.0.x:
74932: RM-1461: CLONE - RM slower then standard repo/sites when rendering document details when folder contains 15k documents
76598: Merged HEAD to BRANCHES/V2.1.0.x:
75102: RM Performance testing
76599: Update module version to 2.1.0.2
76601: Merged HEAD to BRANCHES/V2.1.0.x:
75186: RM Performance Improvements
76673: Root container cache to improve unfiled record browse performance
* relates to RM-1594 and RM-1595
76850: RM performance enhancements
* serach improvements
* in-place record browse improvements
* saved search via file plan browse improvements
76851: Additional unit test to check extended security with cache is working as expected.
76852: Rollback checked in config
77709: RM-1630: Error on manage references page
* regression caused by performance improvements
84337: Update version to 2.1.0.3
84421: Transaction level cahcing of declarative capability evaluation
84676: Fix build
84677: Prevent unnessary repeated creation of QName
84678: Improvements to extended dynamic authorities
* requiredFor set
* direct access to extended permission information, not via service
84679: Correct requiredFor value
88087: RM-1661 (Performance on setting permissions at a high category level)
88092: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88144: RM-1661 (Performance on setting permissions at a high category level)
88182: RM-1724 (Inheritance is not off for root categories, unfiled records, holds and transfers)
88192: RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests
88193: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88358: RM-1661 (Performance on setting permissions at a high category level)
* Added unit tests
88685: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
88686: RM-1741 (Moved root category doesn't inherit permissions)
88687: RM-1741 (Moved root category doesn't inherit permissions)
* Unit test added
88688: RM-1742 (Locally Set Permissions for moved Record duplicate parent folder Locally Set Permissions)
* Unit test added
88691: RM-1745 (RM Admin role can only be added with read permission on the manage permission page)
88772: RM-1741 (Moved root category doesn't inherit permissions)
88860: RM-1661 (Performance on setting permissions at a high category level)
88864: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88959: RM-1746 (Moved record/category always have the inheritance on)
88960: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88961: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
88962: RM-1661 (Performance on setting permissions at a high category level)
* Fixed failing unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@89251 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* as versions are record they are automatically connected to previous record version via the "versions" relationship in the file plan.
* unit and integration tests
* meta-data sotred on record about origional version, for example version label and description
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* extended version service implementation that can use the file plan as an alternative version store, thus recording versions
* extended version node service implementation that can retrieve recorded version information from the file plan (rather than the version frozen state) (properties only atm)
* recordable version model including recorded version information and versionable aspect extension with auto recordable version policy defined
* Recordable version service unit tests
* Simple AdHoc recorded version integration test (shows recorded created and frozen property state recovered via file plan record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@80223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* focus on in-place scenarios with large numbers of DM users and large numbers of in-place records (based on issue informally reported by partner)
* improve performance of dynamic authorities used for in-place security evaluation (L1 transaction cache and more preformant authority look up)
* remove unwanted queries in tree (N+1 for every node) .. killed it for large file plans
* L1 transaction cache for capability condition evaluation .. these are called a LOT so removes some of the bottle necks when evaluating the permissions of a large sets of nodes
* extend helper system test used to load up fileplan and now also create in-place records
* unit and integration tests run .. sanity testing done via the UI
* overall performance of the display of 1000 in-place records in the file plan down from minutes to a few seconds!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@75186 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
RM-1505: Search Results: Hold Reason field is empty
* specific filtering for ViewHoldReason capability removed .. no longer required as we specify user permissions at the hold level
* deprecated hold related actions are no longer auditable (and so don't appear in the audit view)
* hold service Audits add/remove to/from holds
* hold reason is no longer rolled up onto disposable item .. it no longer makes sense for multiple holds and was a security hole
* hold reason removed from search options
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74611 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* general file plan browse rendering in around half the previously recorded times for around 500 records (need to scale up)
* unessesary bottle neck removed from record detail page rendering (see RM-1461)
* other general improvements
* TODO .. hasFrozenChildren, getNextDisposition, TransferNodeIndicator, HeldBy .. all traverse up or down record/record folder hierarchy in ways that don't scale
* fix to disposition lifecycle job that failed all when one failed .. this explains why the job appeared not to work on occasion
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74458 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* remove in-place roles from the 'all roles' group .. now in-place readers and writers can't gain access to items just because they have a role!
* patch to remove in-place roles from all group in existing installations
* unit test for patch
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* fix issues so that RM 2.2 is still backwards compatible with 4.2.1 (and 4.2.0)
* added 'bean extender' .. a post processor bean that allows us to extend, rather than overrite, core bean definitions. Gives us a technique we can use that won't be disrupted when changes are made to core bean definitions.
* unit test for above
* tested with 4.2.2-SNAPSHOT and 4.2.1
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* FileHoldReport capability added (and patched)
* hold report type added to report model
* hold template added, bootstraped (and patched)
* UI action to file hold report added and sensitive to capability
* report actions refactored into a single, general purpose, file report action (can be exposed as rule in future)
* refactoring and extending of report generators (including declarative report generator)
* unit test for file report action
* integration test for hold report generation
* added Sprin custom property editor registrar and registered QName property editor, this allows short name string forms of
QNames to be specified and converted to QName from bean definitions (perhaps something useful for core)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@68235 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261