Commit Graph

789 Commits

Author SHA1 Message Date
Roy Wetherall
df742d4fb0 Attempt to fix failing Unit Tests that are passing locally.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-24 00:07:08 +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
Alexandru Balan
cb9eab2847 Merged BRANCHES/V2.2 to BRANCHES/V2.3:
97533: RM-1586 - server-side fix for legacy custom property names that might contain spaces

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-20 14:18:54 +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
Alexandru Balan
d7544c4e1b Merged BRANCHES/V2.2 to BRANCHES/V2.3:
97444: RM-1586 Restricted the custom metadata property names to alphanumeric and a few special characters
   97026: RM-1660 Fixed NPE exception on schema upgrade Also fixed transaction type for the capabilities schema update.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97447 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 08:59:00 +00:00
Tuna Aksoy
860d974e6c 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@97433 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-19 00:10:11 +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
Tuna Aksoy
d2e25f6cbf Removed unused constant
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 09:26:09 +00:00
Roy Wetherall
f713a016db After reject, version record indicator still present
* Relates to RM-1776: Can't upload new recorded version to rejected document that has recorded versions



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97190 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 05:12:16 +00:00
Roy Wetherall
4712fa05bb Further subdue exception that contains no useful information and is prevelant during auditing.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97189 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-17 04:34:45 +00:00
Roy Wetherall
94bceefd3c Audit related errors seen on console that had no side effect cleaned up
* discovered whilst testing RM-1835



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@97109 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-16 03:10:25 +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
Alexandru Balan
b05eb11127 RM-1660 Fixed NPE exception on schema upgrade
Also fixed transaction type for the capabilities schema update.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.2@97026 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-13 13:14:12 +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
5b6bb02e88 RM-1644 (Possible to create "report" records and copy records without Create Record capability)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96905 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-12 11:08:43 +00:00
Tuna Aksoy
275406472c RM-1903 (Can't manage permissions without "Manage Access Controls" capability)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-11 13:38:10 +00:00
Tuna Aksoy
32cedde74c RM-1867 (Reject rule works incorrect if set up in File Plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96754 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-10 15:54:29 +00:00
Neil McErlean
6bd51cb8fa Probable fix for RM-1886.
It's not clear to me what the correct code is in this method, but I've changed what's there by comparing it to the AssociationRef-typed method below it. My changes seem reasonable. Probably needs review.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-10 14:40:09 +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
Tuna Aksoy
3e63485907 RM-1867 (Reject rule works incorrect if set up in File Plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-09 10:17:39 +00:00
Ana Bozianu
3836b7695c Merged revision(s) 96306 from modules/recordsmanagement/DEV/BUGFIXING/HEAD-2014_12_09:
RM-1738 : Details page information is not shown for user with no permissions on parent folder
   - ran the check against the parent as system


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96362 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-06 08:00:14 +00:00
Ana Bozianu
d43668cd76 RM-1871 : Merged revision(s) 94472 from /DEV/BUGFIXING/HEAD-2014_12_09
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@96064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-04 14:29:36 +00:00
Tuna Aksoy
0a2d40a888 RM-1800 (Transfers are not displayed for non-rm-admin users)
* Reverted the changes from r94481

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95749 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-02 18:38:27 +00:00
Tuna Aksoy
e3c85e78e7 RM-1867 (Reject rule works incorrect if set up in File Plan)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-02 18:17:26 +00:00
Tuna Aksoy
862f17ccc3 RM-1835 (Error is generated when giving access on a list to a user)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95742 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-02-02 17:32:11 +00:00
Tuna Aksoy
bef49752c8 RM-1879 (Audit: Delete object event displays wrong path for different browser languages other than English)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 23:16:56 +00:00
Tuna Aksoy
7fe40aebe3 RM-1879 (Audit: Delete object event displays wrong path for different browser languages other than English)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95688 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 22:34:19 +00:00
Tuna Aksoy
fc7e7a4e4e RM-1878 (Audit: Create person event displays a wrong text and link)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 21:57:02 +00:00
Tuna Aksoy
3a1b9eba6d RM-1851 (Audit: the "Role" for "Declare as version record" is not displayed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@95095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-31 15:57:28 +00:00
Tuna Aksoy
6c3bf20326 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@94481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-30 17:27:49 +00:00
Neil McErlean
4873b8f93b Code fix for RM-1821. The fix is to strip RM-related aspects from all renditions of a rejected node, as was previously done only for the node itself.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94473 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-30 16:35:51 +00:00
Ana Bozianu
fc606ff4ab RM-1738 : Details page information is not shown for user with no permissions on parent folder
- fixed compilation error



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94460 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-30 13:49:59 +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
ca87fc40d1 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@94395 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-29 17:22:52 +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
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
Tuna Aksoy
579083cc44 RM-1636 (Disposition steps can be executed for folder with frozen record)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94046 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-26 15:37:35 +00:00
Tuna Aksoy
b4c9fa7ae9 Merged DEV/BUGFIXING/HEAD-2014_12_09 to BRANCHES/V2.3:
93659: RM-1636 : Disposition steps can be executed for folder with frozen record
        - add a reference of FreezeService to TransferService and perform the full check only when the user tries to complete the transfer/accession

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@94045 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-26 15:19:21 +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
1c4275938e 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@93971 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-23 17:33:33 +00:00
Tuna Aksoy
cb4632aded RM-1825 (Can't move/delete in-place record when outbound rule to Hide Record is set)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@93764 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-20 21:59:11 +00:00
Tuna Aksoy
878f5d468a RM-1800 (Transfers are not displayed for non-rm-admin users)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@93745 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2015-01-20 15:46:10 +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