Commit Graph

306 Commits

Author SHA1 Message Date
Tuna Aksoy
27f748a946 Removed warning
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@99004 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-07 21:36:38 +00:00
Tatiana Kalinovskaya
2d71bc2275 RM-1727 (Error on Folder/record details page when user have no permissions on parent category)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@98884 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-06 14:27:45 +00:00
Tuna Aksoy
91ed65df5c Added transfer test suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@98500 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-03-03 20:11:59 +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
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
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
0cd2e9e215 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@97718 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-22 14:11:17 +00:00
Ana Bozianu
c879e92b4c RM-1914 : "Related Record Transferred To Inactive Storage" is not completed automatically
- Merged revision 97301 from /DEV/BUGFIXING/V2.3-2015_02_17



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 10:45:21 +00:00
Roy Wetherall
c269efab69 RM-1903 - updates to unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 02:00:58 +00:00
Tuna Aksoy
2b04a58264 RM-1942 (Hold creator can't view the hold he has created)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97278 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 17:20:18 +00:00
Roy Wetherall
3149f07011 RM-1864: New version is created when "Declare as version record"
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97108 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-16 02:08:54 +00:00
Tuna Aksoy
ff00403314 RM-1862 (Reference to rejected record is remaining)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97058 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-13 17:09:46 +00:00
Tuna Aksoy
c4d4042474 Fixed failing transfer related tests after the recent changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96976 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-12 23:53:48 +00:00
Tuna Aksoy
60e6cc180b RM-1644 (Possible to create "report" records and copy records without Create Record capability)
* Removed test case

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-12 23:53:40 +00:00
Tuna Aksoy
054a0211f8 RM-1800 (Transfers are not displayed for non-rm-admin users)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96974 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-12 23:21:42 +00:00
Tuna Aksoy
0a96b5e56b Added the test for RM-1887 to the test suite.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96663 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-10 12:26:55 +00:00
Roy Wetherall
aab247e304 RM-1887: Unfiled record behaves as not unfiled after move
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-09 22:33:33 +00:00
Tuna Aksoy
b8321022a6 RM-1904 (SubCategory moved to root have inheritance on)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96580 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-09 17:28:14 +00:00
Ana Bozianu
4cfb2cc890 RM-1738 Merged revisions 94050-94454 from DEV to V2.3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-30 13:29:28 +00:00
Tuna Aksoy
c6e7607a15 RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-30 13:17:30 +00:00
Tuna Aksoy
47da6ab778 RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
* Commented out copy behaviour of objects from a collaboration site into the RM site.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-29 20:32:44 +00:00
Tuna Aksoy
fb5376be85 RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
* Added copy behaviour and tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94263 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-28 18:19:35 +00:00
Tuna Aksoy
ef9faeaaed RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
* Fixed last failing tests
 * Tests now run as a non-admin user

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94260 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-28 17:45:41 +00:00
Tuna Aksoy
9c52e1e07b RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
* Fixed move operation related failing tests in RM site

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94253 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-28 15:39:48 +00:00
Tuna Aksoy
cffb19675e Tests for moving documents/folders should be included after fixing the functionality on RM site.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94231 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-28 13:40:16 +00:00
Tuna Aksoy
1d57ffbd95 RM-978 (Unable to navigate to copied folder from a collaboration site to RM site)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-27 21:53:50 +00:00
Ana Bozianu
b8f642b522 Merged DEV to /BRANCHES/v2.3
93906: RM-1644 : Possible to create "report" records and copy records without Create Record capability
   - added "CreateRecord" constant in RMPermissionModel 
   - in CreateCapability evaluator I checked if the user has the capability
   - wrote unit test
93998: RM-1644 : Possible to create "report" records and copy records without Create Record capability
   - changed test implementation using the framework to specify the expected exception correctly



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94003 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-26 10:27:07 +00:00
Tuna Aksoy
a134c2ec2e Fixed the failing test after the changes for RM-1800
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@93975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-23 18:12:04 +00:00
Tuna Aksoy
d8e7030fdf Test has been added to the test suite.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@93602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-16 15:31:12 +00:00
Tuna Aksoy
a4366b23c1 RM-1814 (It's possible to add relationship to on hold record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@93597 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-16 15:10:44 +00:00
Tuna Aksoy
15a4672b22 RM-1799 (Root category is not displayed for the non-rm-admin user who created it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92881 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-05 18:58:16 +00:00
Roy Wetherall
3e157129ad Merged DEV to HEAD:
92360: RM-1649 : (Access denied to Declare Record to Unfiled Records for user with Create Records capability)
        - I handled the case when the destination folder is not a record folder and the user doesn't need File Record capability to create a record there
        - unit test fixed and working as part of the merge



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92523 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-18 04:45:02 +00:00
Ana Bozianu
1c4c4c7bb6 reverted changes committed accidentally on head for issue RM-1649
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92361 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-16 10:28:16 +00:00
Ana Bozianu
5f2012410c RM-1649 : (Access denied to Declare Record to Unfiled Records for user with Create Records capability)
- I handled the case when the destination folder is not a record folder and the user doesn't need File Record capability to create a record there
   - I wrote a unit test for it but the test is failing with access denied on calling hasAspect method 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92359 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-16 10:11:09 +00:00
Roy Wetherall
9c07772037 Add test suite (relates to RM-1770)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92112 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-09 23:36:03 +00:00
Tuna Aksoy
91e2e76b61 Merged /DEV/BUGFIXING/HEAD-2014_12_09 to HEAD:
92077: RM-1770 Not possible to delete parent/child reference

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@92096 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-09 17:01:53 +00:00
Roy Wetherall
9ce8096ca3 RM-1771: SOLR dependent integration tests failing
* fix up query so it works correctly as a Alfresco FTS search



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@91841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-05 03:20:08 +00:00
Roy Wetherall
e1b6f6eb12 Introduce Mockito unit tests into Share AMP project
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@91731 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-12-04 00:19:46 +00:00
Roy Wetherall
856eca9940 Fix failing tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@90354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-13 04:59:59 +00:00
Tuna Aksoy
9f5af6d834 RM-1771 (SOLR dependent integration tests failing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@90205 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-10 22:32:04 +00:00
Tuna Aksoy
514af5404d RM-1771 (SOLR dependent integration tests failing)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@90204 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-10 21:51:51 +00:00
Tuna Aksoy
ffa8a8a2f8 RM-1675 (Moved in-place record is not shown non-RM Administrator users)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-03 15:27:32 +00:00
Tuna Aksoy
b948e442f8 Fixed failing unit test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-01 21:36:39 +00:00
Tuna Aksoy
a6fb22a8cc Fixed major issues (Visibility Modifier) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89725 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-01 21:07:06 +00:00
Tuna Aksoy
acf3a49de5 Added missing test to the test suite
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89723 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-01 20:32:37 +00:00
Tuna Aksoy
def0ba5bc2 RM-1639 (Recordable Version Configuration Rule)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-11-01 13:55:22 +00:00
Tuna Aksoy
006a28a623 Merged BRANCHES/V2.2 to HEAD:
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
2014-10-29 22:40:00 +00:00
Tuna Aksoy
d812cbc39d Removed warnings
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@89457 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-29 19:57:33 +00:00
Tuna Aksoy
1e7089e651 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/BRANCHES/V2.2@89455 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2014-10-29 19:51:06 +00:00