You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am unable to update a received share. The share is not visible on the recipient's site neither. This happens only when the grantee's permissions are set to viewer. Steps to reproduce the issue:
magc@magc:~/reva$ ./cmd/reva/reva --insecure login basic
username: einstein
password: OK
magc@magc:~/reva$ ./cmd/reva/reva --insecure upload test.txt /home/test-viewer.txt
Local file size: 13 bytes
Data server: http://magc:19001/datagateway
Allowed checksums: [type:RESOURCE_CHECKSUM_TYPE_MD5 priority:100 type:RESOURCE_CHECKSUM_TYPE_UNSET priority:1000 ]
Checksum selected: RESOURCE_CHECKSUM_TYPE_MD5
Local XS: RESOURCE_CHECKSUM_TYPE_MD5:c2a8ed7ddbf759a67b2d5ea256f05fb8
File uploaded: 123e4567-e89b-12d3-a456-426655440000:fileid-einstein%2Ftest-viewer.txt 13 /home/test-viewer.txt
magc@magc:~/reva$ ./cmd/reva/reva --insecure share-create -grantee f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c -idp http://localhost:20080 -rol viewer -type user /home/test-viewer.txt
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+
| # | OWNER.IDP | OWNER.OPAQUEID | RESOURCEID | PERMISSIONS | TYPE | GRANTEE.IDP | GRANTEE.OPAQUEID | CREATED | UPDATED |
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+
| f23b5daf-6a93-442e-8144-656a6c672749 | http://localhost:20080 | 4c510ada-c86b-4815-8820-42cdf82c3d51 | storage_id:"123e4567-e89b-12d3-a456-426655440000" opaque_id:"fileid-einstein%2Ftest-viewer.txt" | permissions:<get_path:true list_container:true stat:true > | GRANTEE_TYPE_USER | http://localhost:20080 | f7fbf8c8-139b-4376-b307-cf0a8c2d0d9c | 2022-01-24 23:44:18 +0100 CET | 2022-01-24 23:44:18 +0100 CET |
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------------+-------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+
magc@magc:~/reva$ ./cmd/reva/reva --insecure login basic
username: marie
password: OK
magc@magc:~/reva$ ./cmd/reva/reva --insecure share-list-received
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+---------------------+
| # | OWNER.IDP | OWNER.OPAQUEID | RESOURCEID | PERMISSIONS | TYPE | GRANTEE.IDP | GRANTEE.OPAQUEID | CREATED | UPDATED | STATE |
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+---------------------+
+--------------------------------------+------------------------+--------------------------------------+--------------------------------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+------------------------+--------------------------------------+-------------------------------+-------------------------------+---------------------+
magc@magc:~/reva$
This is not the case when the rol flag is set to editor. I built reva on master commit 393f831 and followed the official README and run it on storage-references config.
The text was updated successfully, but these errors were encountered:
Hi, I am unable to update a received share. The share is not visible on the recipient's site neither. This happens only when the grantee's permissions are set to viewer. Steps to reproduce the issue:
This is not the case when the rol flag is set to editor. I built reva on master commit 393f831 and followed the official README and run it on storage-references config.
The text was updated successfully, but these errors were encountered: