From 49cc629412d72828a1c10353f9bf5df985e54f9c Mon Sep 17 00:00:00 2001 From: anatoly-bogatyrev <45566606+anatoly-bogatyrev@users.noreply.github.com> Date: Tue, 16 Feb 2021 18:05:19 +0300 Subject: [PATCH] hotfix (#36) * hotfix for incorrect request due to ACL restriction --- robot/testsuites/integration/acl/acl_bearer_allow.robot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/robot/testsuites/integration/acl/acl_bearer_allow.robot b/robot/testsuites/integration/acl/acl_bearer_allow.robot index fab100a..41d3215 100644 --- a/robot/testsuites/integration/acl/acl_bearer_allow.robot +++ b/robot/testsuites/integration/acl/acl_bearer_allow.robot @@ -39,7 +39,6 @@ Check eACL Deny and Allow All Bearer ${D_OID_USER} = Put object ${USER_KEY} ${FILE_S} ${CID} ${EMPTY} ${FILE_USR_HEADER_DEL} @{S_OBJ_H} = Create List ${S_OID_USER} - Put object ${USER_KEY} ${FILE_S} ${CID} ${EMPTY} ${FILE_OTH_HEADER} Get object ${USER_KEY} ${CID} ${S_OID_USER} ${EMPTY} local_file_eacl Search object ${USER_KEY} ${CID} ${EMPTY} ${EMPTY} ${FILE_USR_HEADER} ${S_OBJ_H} @@ -86,14 +85,13 @@ Check eACL Deny and Allow All Bearer Run Keyword And Expect Error * ... Put Storagegroup ${USER_KEY} ${CID} ${EMPTY} ${S_OID_USER} Run Keyword And Expect Error * - ... List Storagegroup ${USER_KEY} ${CID} ${SG_OID_1} ${SG_OID_INV} - @{EXPECTED_OIDS} = Run Keyword If "${RUN_TYPE}" == "Complex" Get Split objects ${USER_KEY} ${CID} ${S_OID_USER} - ... ELSE IF "${RUN_TYPE}" == "Simple" Create List ${S_OID_USER} + ... List Storagegroup ${USER_KEY} ${CID} ${SG_OID_1} ${SG_OID_INV} Run Keyword And Expect Error * ... Get Storagegroup ${USER_KEY} ${CID} ${SG_OID_1} ${EMPTY} @{EXPECTED_OIDS} Run Keyword And Expect Error * ... Delete Storagegroup ${USER_KEY} ${CID} ${SG_OID_1} + # Storagegroup will be added after https://github.com/nspcc-dev/neofs-node/issues/388 Put object ${USER_KEY} ${FILE_S} ${CID} bearer_allow_all_user ${FILE_OTH_HEADER} Get object ${USER_KEY} ${CID} ${S_OID_USER} bearer_allow_all_user local_file_eacl