Repository navigation
feat: list all shares for guest users - #3829
Conversation
ee5a5ec to
6be5e27
Compare
6be5e27 to
2a1a8be
Compare
25e6950 to
21dd202
Compare
21dd202 to
ac42b46
Compare
|
Review and browser test at ac42b46 (known backend limitations excluded):
|
|
Thanks! 2 issues worth fixing, the rest is intended behavior/misleading acceptance criteria/not worth the effort fixing.
True, this is a bug on main though. Offering the "Copy to" option is still the correct thing. I'll check the existing issues and create one if needed.
This is intended. A user should be able to copy from a read-only share to a writable one. It's a trade-off, but IMO not worth checking permissions for all shares for these actions.
I added a line to the PR description.
True, will fix it in this PR.
I'd say this is an edge case that's currently not worth the effort fixing. We would need to change the menu item's name, or introduce an id. Hiding menu extensions via
Yes, this is correct. I made the expected behavior more clear in #3503.
True, will fix it in this PR. |
|
I pushed the 2 fixes and created #3932 for the issue with copying the current folder. |
Description
Add the possibility to list all received shares for a guest user. They get can access it via the left nav or the breadcrumbs.
Also "Move to" is now hidden on share roots for all users, since a received share can't be moved.
Issue
closes #3503
fixes #3836
How to test
docker run --rm --network container:web_oc natsio/nats-box nats -s nats://127.0.0.1:9233 sub main-queue --raw | jq --unbuffered -r 'select(.Metadata.eventtype | test("GuestTokenCreated")) | .Payload | @base64d | fromjson | .Token'